Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size of month buttons #25

Open
herbertamukhuma opened this issue Mar 24, 2023 · 6 comments
Open

Size of month buttons #25

herbertamukhuma opened this issue Mar 24, 2023 · 6 comments

Comments

@herbertamukhuma
Copy link

Provide a way of controlling the size of the month button or fit them within the available space. (Also, the issue link from pub.dev is wrong, it leads me to different repository)
image

@tony-soft
Copy link

Duplicated #8

@Keremovsky
Copy link

Keremovsky commented Jul 11, 2023

Months still don't fit into the space.

@zpc7
Copy link

zpc7 commented Nov 26, 2023

same as me
image

@raegtime
Copy link

raegtime commented Dec 1, 2023

workaround:

await showMonthYearPicker(
                     builder: (BuildContext context, Widget? child) => Theme(
                         data: Theme.of(context).copyWith(materialTapTargetSize: MaterialTapTargetSize.shrinkWrap),
                         child: child!),
                     context: context,
                     initialDate: initialDate,
                     firstDate: firstDate,
                     lastDate: lastDate,
                   )

@unix14
Copy link

unix14 commented Aug 25, 2024

builder: (BuildContext context, Widget? child) => Theme(
data: Theme.of(context).copyWith(materialTapTargetSize: MaterialTapTargetSize.shrinkWrap),
child: child!)

works!!

@mantu-sahu
Copy link

This works but wow to change the size of Month circular button and color. It is getting cut off a little at the bottom row of the grid,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants