DateTimePickerOption class
Set datetime configuration for the picker
- Available extensions
Constructors
- DateTimePickerOption.new({required DateFormat dateFormat, required DateTime minDate, required DateTime maxDate, DateTime? initialDate})
-
const
Properties
- dateFormat → DateFormat
-
Format used in the picker.
final
-
dateTimeTypes
→ List<
DateTimeType> -
Available on DateTimePickerOption, provided by the DateTimePickerOptionX extension
no setter - getInitialDate → DateTime
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialDate → DateTime?
-
Initial date to be shown in the picker.
final
- locale → Locale
-
no setter
- maxDate → DateTime
-
Maximum date allowed to be chosen.
final
- minDate → DateTime
-
Minimum date allowed to be chosen.
final
-
patterns
→ List<
String> -
Available on DateTimePickerOption, provided by the DateTimePickerOptionX extension
no setter - 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