DateTimePickerTheme class
To support both stable and beta channels until 'DiagnosticableMixin' is officially deprecated.
Constructors
- DateTimePickerTheme.new({Color backgroundColor = defaultPickerBackground, TextStyle? cancelTextStyle, TextStyle? confirmTextStyle, Widget? cancel, Widget? confirm, Widget? title, bool showTitle = showTitleDefaultValue, double pickerHeight = defaultPickerHeight, double titleHeight = defaultPickerTitleHeight, double itemHeight = defaultPickerItemHeight, TextStyle itemTextStyle = defaultItemTextStyle, double squeeze = defaultPickerSqueeze, double diameterRatio = defaultPickerDiameterRatio, DatePickerDividerTheme dividerTheme = DatePickerDividerTheme.defaultPickerDividersTheme})
-
DateTimePicker theme.
const
Properties
- backgroundColor → Color
-
DatePicker's background color.
final
- cancel → Widget?
-
Custom cancel Widget.
final
- cancelDefault → Text
-
final
- cancelTextStyle → TextStyle?
-
Default cancel widget's TextStyle.
final
- confirm → Widget?
-
Custom confirm Widget.
final
- confirmTextStyle → TextStyle?
-
Default confirm widget's TextStyle.
final
- diameterRatio → double
-
final
- dividerTheme → DatePickerDividerTheme
-
The value of DatePicker's Divider Color TextStyle.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemHeight → double
-
The value of DatePicker's column height.
final
- itemTextStyle → TextStyle
-
The value of DatePicker's column TextStyle.
final
- pickerHeight → double
-
The value of DatePicker's height.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showTitle → bool
-
Whether display title widget or not. If set false, the default cancel and confirm widgets will not display, but the custom title widget will display if had specified one custom title widget.
final
- squeeze → double
-
final
- title → Widget?
-
Custom title Widget. If specify a title widget, the cancel and confirm widgets will not display.
final
- titleHeight → double
-
The value of DatePicker's title height.
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.
inherited