Hello everyone,
I'm currently working on a Flutter application that uses the
syncfusion_flutter_calendar widget, and I would like to customize the default
view change buttons (day, week, workWeek, month, etc.).
I know that the allowedViews property allows activating
these buttons, but I want to further customize their style and layout. I've
considered using a custom AppBar with IconButton, but I prefer to use the
default buttons provided by the package to retain some built-in
functionalities.
Here is what I would like to achieve:
- Customize the appearance of the buttons (colors, icons,
styles).
- Modify the background color and shape of the buttons.
- Rearrange the layout of the buttons if possible.
- Add additional functionalities to the buttons (e.g., adding
extra actions on click).
Additionally, I would like the buttons to look as shown in
the attached image:
- When a button is selected, it should have a solid blue
background with white text.
- When a button is not selected, it should have a white
background with a blue border and blue text.
Does anyone have any suggestions or examples on the best way
to proceed? Is it possible to override the default buttons or customize them
directly within the package?
Thank you in advance for your help!
Best regards,
David
Attachment:
calendar_bdd6cf84.zip