DatePickerUtil class
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
Static Methods
-
formatDate(DateTime date, {String format = 'MMM dd, yyyy'})
→ String
-
-
formatDateRange(DateTimeRange range, {String format = 'MMM dd, yyyy'})
→ String
-
-
showCustomDatePicker({DateTime? initialDate, DateTime? firstDate, DateTime? lastDate, String? helpText, String? cancelText, String? confirmText, DatePickerEntryMode initialEntryMode = DatePickerEntryMode.calendar, DatePickerMode initialDatePickerMode = DatePickerMode.day, String? fieldHintText, String? fieldLabelText, Color? primaryColor, Color? textColor, Color? backgroundColor, bool barrierDismissible = true})
→ Future<DateTime?>
-
-
showCustomDateRangePicker({DateTimeRange? initialDateRange, DateTime? firstDate, DateTime? lastDate, String? helpText, String? cancelText, String? confirmText, String? saveText, Color? primaryColor, Color? textColor, Color? backgroundColor, bool barrierDismissible = true})
→ Future<DateTimeRange?>
-