table_calendar icon indicating copy to clipboard operation
table_calendar copied to clipboard

Title and icons placement

Open buraktahap opened this issue 1 year ago • 2 comments

Is it possible to add a feature for change the placements of title and icons. I want to place icons on the right and title on the left . When I looked in the source code they are defined in a row and I can't place the icons on the right with margin or padding. Most of the people use their phones with right hand and its better user experience that reaching the icons with only right hand fingers easily.

buraktahap avatar Feb 24 '23 08:02 buraktahap

You can create a custom header to achieve that if I recall correctly. Let me know if you want any help with that, even though I’m far from the best with it

JustMilan avatar Mar 01 '23 12:03 JustMilan

As I see you can only customize the title in header with calendarBuilders: CalendarBuilders(headerTitleBuilder(){}); . Look at here https://github.com/aleksanderwozniak/table_calendar/blob/master/lib/src/widgets/calendar_header.dart header basically wrapped by a Row and its only customize the right chevron, left chevron and format buttons visibilty. Another way to customize the header is with headerStyle: parameter. Yet with that you can only customize the visibility, paddings icons etc. because this just for the styling. Let me know if you know another way to customize the header.

buraktahap avatar Mar 10 '23 07:03 buraktahap

@buraktahap You can implement a CustomHeader widget similarly to the example project.

aleksanderwozniak avatar Feb 24 '24 14:02 aleksanderwozniak