DatePicker class Null safety

Constructors

DatePicker()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

showDatePicker(BuildContext context, {bool showTitleActions = true, DateTime? minTime, DateTime? maxTime, DateChangedCallback? onChanged, DateChangedCallback? onConfirm, DateCancelledCallback? onCancel, dynamic locale = LocaleType.en, DateTime? currentTime, DatePickerTheme? theme}) Future<DateTime?>
Display date picker bottom sheet.
showDateTimePicker(BuildContext context, {bool showTitleActions = true, DateTime? minTime, DateTime? maxTime, DateChangedCallback? onChanged, DateChangedCallback? onConfirm, DateCancelledCallback? onCancel, dynamic locale = LocaleType.en, DateTime? currentTime, DatePickerTheme? theme}) Future<DateTime?>
Display date&time picker bottom sheet.
showPicker(BuildContext context, {bool showTitleActions = true, DateChangedCallback? onChanged, DateChangedCallback? onConfirm, DateCancelledCallback? onCancel, dynamic locale = LocaleType.en, BasePickerModel? pickerModel, DatePickerTheme? theme}) Future<DateTime?>
Display date picker bottom sheet witch custom picker model.
showTime12hPicker(BuildContext context, {bool showTitleActions = true, DateChangedCallback? onChanged, DateChangedCallback? onConfirm, DateCancelledCallback? onCancel, dynamic locale = LocaleType.en, DateTime? currentTime, DatePickerTheme? theme}) Future<DateTime?>
Display time picker bottom sheet with AM/PM.
showTimePicker(BuildContext context, {bool showTitleActions = true, bool showSecondsColumn = true, DateChangedCallback? onChanged, DateChangedCallback? onConfirm, DateCancelledCallback? onCancel, dynamic locale = LocaleType.en, DateTime? currentTime, DatePickerTheme? theme}) Future<DateTime?>
Display time picker bottom sheet.