MaterialDatePickerOptions class

Options to configure the DatePickerDialog.

Annotations

Constructors

MaterialDatePickerOptions({DateTime? currentDate, DatePickerEntryMode initialEntryMode = DatePickerEntryMode.calendar, SelectableDayPredicate? selectableDayPredicate, String? helpText, String? cancelText, String? confirmText, Locale? locale, bool useRootNavigator = true, TextDirection? textDirection, TransitionBuilder? builder, DatePickerMode initialDatePickerMode = DatePickerMode.day, String? errorFormatText, String? errorInvalidText, String? fieldHintText, String? fieldLabelText, TextInputType? keyboardType, Icon? switchToInputEntryModeIcon, Icon? switchToCalendarEntryModeIcon})
const

Properties

builder TransitionBuilder?
See parameter builder in showDatePicker.
final
cancelText String?
See DatePickerDialog.cancelText.
final
confirmText String?
See DatePickerDialog.confirmText.
final
currentDate DateTime?
See DatePickerDialog.currentDate.
final
errorFormatText String?
See DatePickerDialog.errorFormatText.
final
errorInvalidText String?
See DatePickerDialog.errorInvalidText.
final
fieldHintText String?
See DatePickerDialog.fieldHintText.
final
fieldLabelText String?
See DatePickerDialog.fieldLabelText.
final
hashCode int
The hash code for this object.
no setteroverride
helpText String?
See DatePickerDialog.helpText.
final
initialDatePickerMode DatePickerMode
See DatePickerDialog.initialCalendarMode.
final
initialEntryMode DatePickerEntryMode
See DatePickerDialog.initialEntryMode.
final
keyboardType TextInputType?
See DatePickerDialog.keyboardType.
final
locale Locale?
See parameter locale in showDatePicker.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectableDayPredicate SelectableDayPredicate?
See DatePickerDialog.selectableDayPredicate.
final
switchToCalendarEntryModeIcon Icon?
See DatePickerDialog.switchToCalendarEntryModeIcon.
final
switchToInputEntryModeIcon Icon?
See DatePickerDialog.switchToInputEntryModeIcon.
final
textDirection TextDirection?
See parameter textDirection in showDatePicker.
final
useRootNavigator bool
See parameter useRootNavigator in showDatePicker.
final

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.
override