tc_datepicker library

Classes

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. [...]

Extensions

TupleLunar
TupleSolar

Constants

terms → const List<String>
const ["立春", "雨水", "惊蛰", "春分", "清明", "谷雨", "立夏", "小满", "芒种", "夏至", "小暑", "大暑", &…
termsC → const List<double>
const [3.87, 18.73, 5.63, 20.646, 4.81, 20.1, 5.52, 21.04, 5.678, 21.37, 7.108, 22.83, 7.5, 23.13, 7.646, 23.042, 8.318, 23.438, 7.438, 22.36, 7.18, 21.94, 5.4055, 20.12]

Properties

termsByYear Map<int, Map<Tuple2<int, int>, String>>
final

Functions

showDatePicker({BuildContext context, DateTime initialFirstDate, DateTime initialLastDate, DateTime firstDate, DateTime lastDate, SelectableDayPredicate selectableDayPredicate, DatePickerMode initialDatePickerMode = DatePickerMode.day, Locale locale, TextDirection textDirection}) Future<List<DateTime>>
Shows a dialog containing a material design date picker. [...]

Enums

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

Typedefs

SelectableDayPredicate = bool Function(DateTime day)
Signature for predicating dates for enabled date selections. [...]