DatePicker 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
-
localeFromString(String languageCode)
→ DateTimePickerLocale
-
Gets the right DateTimePickerLocale by a language string
-
showSimpleDatePicker(BuildContext context, {DateTime? firstDate, DateTime? lastDate, DateTime? initialDate, String? dateFormat, DateTimePickerLocale locale = DATETIME_PICKER_LOCALE_DEFAULT, DateTimePickerMode pickerMode = DateTimePickerMode.date, Color? backgroundColor, Color? textColor, TextStyle? itemTextStyle, String? titleText, String? confirmText, String? cancelText, bool looping = false, bool reverse = false})
→ Future<DateTime?>
-
Display date picker in bottom sheet.