month_picker_dialog
library
Classes
-
The arrows that are used on the header to change between the pages of the grid.
-
The main part of the header. Where arrows and current interval are presented.
-
The widget that presents the current selected date on the header.
-
MonthButton
-
The button to be used on the grid of months.
-
MonthpickerController
-
Global controller of the dialog. It holds the initial parameters passed on the widget creation.
-
MonthPickerDialog
-
The main dialog widget class.
It needs a
MonthpickerController
controller to be created.
-
MonthPickerDialogSettings
-
Class to hold all the customizations of the date picker.
-
MonthPickerDialogState
-
-
MonthSelector
-
The widget that will hold the month grid selector.
-
MonthSelectorState
-
-
MonthUpDownPageProvider
-
Provider that controlls the up down state of the header when the monyh selector is on the dialog
-
MonthYearGridBuilder
-
The month grid. It has all of the avaliable options to be selected.
-
PickerActionBar
-
The actions button bar. Where confirmation and cancel button are.
-
PickerActionBarSettings
-
Class to hold all the customizations of the action bar part of the package.
-
PickerDateButtonsSettings
-
Class to hold all the customizations of the buttons part of the package.
-
PickerDialogSettings
-
Class to hold all the customizations of the dialog part of the package.
-
The widget that will hold all of the Header widgets.
-
Class to hold all the customizations of the dialog part of the package.
-
-
UpDownButtonEnableState
-
Class that controlls if the up and down arrows are gonna be enabled or not
-
UpDownPageLimit
-
Class that controlls the limit of pages of the up and down arrows
-
YearButton
-
The button to be used on the grid of years.
-
YearGrid
-
The year grid. It has all of the avaliable options to be selected.
-
YearSelector
-
The widget that will hold the year grid selector.
-
YearSelectorState
-
-
YearUpDownPageProvider
-
Provider that controlls the up down state of the header when the year selector is on the dialog
Functions
-
createLocaleString(Locale locale)
→ String
-
-
getLocale(BuildContext context, {Locale? selectedLocale})
→ String
-
Function to get the selected locale code or the locale of context as a fallback
-
showMonthPicker({required BuildContext context, DateTime? initialDate, DateTime? firstDate, DateTime? lastDate, bool selectableMonthPredicate(DateTime)?, bool selectableYearPredicate(int)?, ButtonStyle? monthStylePredicate(DateTime)?, ButtonStyle? yearStylePredicate(int)?, MonthPickerDialogSettings monthPickerDialogSettings = defaultMonthPickerDialogSettings, bool onlyYear = false})
→ Future<DateTime?>
-
Displays month picker dialog.
-
showMonthRangePicker({required BuildContext context, DateTime? initialRangeDate, DateTime? endRangeDate, DateTime? firstDate, DateTime? lastDate, bool selectableMonthPredicate(DateTime)?, bool selectableYearPredicate(int)?, ButtonStyle? monthStylePredicate(DateTime)?, ButtonStyle? yearStylePredicate(int)?, bool rangeList = false, MonthPickerDialogSettings monthPickerDialogSettings = defaultMonthPickerDialogSettings})
→ Future<List<DateTime>?>
-
Displays month picker dialog.
-
showYearPicker({required BuildContext context, DateTime? initialDate, DateTime? firstDate, DateTime? lastDate, bool selectableYearPredicate(int)?, ButtonStyle? yearStylePredicate(int)?, MonthPickerDialogSettings monthPickerDialogSettings = defaultMonthPickerDialogSettings})
→ Future<int?>
-
Displays only year picker dialog.