flutter_custom_month_picker_new library

Functions

showMonthPicker(dynamic context, {required dynamic onSelected(int, int), int? firstYear, int? initialSelectedMonth, int? initialSelectedYear, int? lastYear, int? firstEnabledMonth, int? lastEnabledMonth, String selectButtonText = "OK", String cancelButtonText = "Cancel", TextStyle? monthTextStyle, TextStyle? yearTextStyle, Color? yearSelectorTextColor, TextStyle? buttonsTextStyle, Color? buttonsTextColor, Color selectionColor = Colors.green, Size? size, Color? contentBackgroundColor = Colors.white, Color? dialogBackgroundColor, Color? textColor, Locale locale = const Locale("en")}) → void
public method to access the month picker dialog with the required parameters