DatePickerDefaults class

Defaults for every DatePicker under a ConfigProvider.

The picker's own props, not its DatePickerToken numbers.

Annotations

Constructors

DatePickerDefaults({DatePickerVariant? variant, bool? allowClear, bool? showToday, ControlSize? size, bool? disabled})
Creates a DatePickerDefaults.
const

Properties

allowClear → bool?
Whether pickers carry a clear button once a date is set.
final
disabled → bool?
Whether a DatePicker is disabled, unless it says otherwise.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showToday → bool?
Whether the panel offers a jump to the current day.
final
size → ControlSize?
Which control height a DatePicker takes, unless it names one.
final
variant → DatePickerVariant?
How pickers are filled and bordered.
final

Methods

merge(DatePickerDefaults other) → DatePickerDefaults
This one with other's fields laid over it, one field at a time.
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