DatePickerUtil class

Constructors

DatePickerUtil.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

chooseBirthday(BuildContext context, {String? title, String? selectedyyyyMMddDateString, required int minAge, int maxAge = 150, required void onConfirm(String yyyyMMddDateStirng)}) → void
chooseDate(BuildContext context, {String? title, DateTime? maxValue, DateTime? minValue, DateTime? value, required PickerConfirmCallback onConfirm}) → void
日期选择器
chooseyyyyMMddFuture(BuildContext context, {DatePickerType? datePickerType, String? title, String? selectedyyyyMMddDateString, String? minDateString, String? maxDateString, void errorDateBlock(ErrorDateType errorDateType)?, required void onConfirm(String yyyyMMddDateStirng), bool? hideDialogTitle}) → void
getDatePicker({String? title, DateTime? maxValue, DateTime? minValue, DateTime? value, List<int>? selecteds, required PickerConfirmCallback onConfirm}) → Picker
getDatePickerWidget(Picker picker) Widget