show static method
Future<MonthAndYear?>
show(
- BuildContext context, {
- required DateTime initialDate,
- required DateTime firstDate,
- required DateTime lastDate,
Implementation
static Future<MonthAndYear?> show(
BuildContext context, {
required DateTime initialDate,
required DateTime firstDate,
required DateTime lastDate,
}) async {
return showDialog<MonthAndYear>(
context: context,
builder: (context) {
return AppMonthPicker._(
initialDate: initialDate,
firstDate: firstDate,
lastDate: lastDate,
);
},
);
}