persian_date library
Javad Zobeidi
j.zobeidi89@gmail.com
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. [...]
- PersianDate
- YearPicker
- A scrollable list of years to allow picking a year. [...]
Constants
- AM → const String
-
'AM'
- am → const String
-
'am'
- D → const String
-
'D'
- d → const String
-
'd'
- DD → const String
-
'DD'
- dd → const String
-
'dd'
- H → const String
-
'H'
- h → const String
-
'h'
- HH → const String
-
'HH'
- hh → const String
-
'hh'
-
leapYearMonths
→ const List<
int> -
const <int> [1, 3, 5, 7, 8, 10, 12]
- M → const String
-
'M'
- m → const String
-
'm'
- MM → const String
-
'MM'
- mm → const String
-
'mm'
- n → const String
-
'n'
- nn → const String
-
'nn'
- S → const String
-
'S'
- s → const String
-
's'
- ss → const String
-
'ss'
- SSS → const String
-
'SSS'
- u → const String
-
'u'
- uuu → const String
-
'uuu'
- w → const String
-
'w'
- yy → const String
-
'yy'
- yyyy → const String
-
'yyyy'
Functions
-
jalaliCalendarPicker(
{BuildContext context, SelectableDayPredicate selectableDayPredicate, DatePickerMode initialDatePickerMode: DatePickerMode.day, String selectedFormat, bool toArray, Locale locale, TextDirection textDirection }) → 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. [...]