persian_date library

Classes

DatePicker
DayPicker
Displays the days of a given month and allows choosing a day. [...]
MonthPicker
A scrollable list of months to allow picking a month. [...]
YearPicker
A scrollable list of years to allow picking a year. [...]

Constants

leapYearMonths → const List<int>
const <int>[1, 3, 5, 7, 8, 10, 12]

Functions

jalaliCalendarPicker({BuildContext context, SelectableDayPredicate selectableDayPredicate, DatePickerMode initialDatePickerMode: DatePickerMode.day, String selectedFormat, bool toArray, Locale locale, TextDirection textDirection, bool convertToGregorian: false }) → Future<String>
Shows a dialog containing a material design date picker. [...]

Enums

DatePickerMode
Initial display mode of the date picker dialog. [...]

Typedefs

DateChangedCallback(int year, int month, int date) → dynamic
SelectableDayPredicate(DateTime day) → bool
Signature for predicating dates for enabled date selections. [...]