Open herbertamukhuma opened 1 year ago
Months still don't fit into the space.
same as me
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,
)
builder: (BuildContext context, Widget? child) => Theme( data: Theme.of(context).copyWith(materialTapTargetSize: MaterialTapTargetSize.shrinkWrap), child: child!)
works!!
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)