DateTimePickerTheme class

To support both stable and beta channels until 'DiagnosticableMixin' is officially deprecated.

Constructors

DateTimePickerTheme({Color backgroundColor = DATETIME_PICKER_BACKGROUND_COLOR, TextStyle? cancelTextStyle, TextStyle? confirmTextStyle, Widget? cancel, Widget? confirm, Widget? title, bool showTitle = DATETIME_PICKER_SHOW_TITLE_DEFAULT, double pickerHeight = DATETIME_PICKER_HEIGHT, double titleHeight = DATETIME_PICKER_TITLE_HEIGHT, double itemHeight = DATETIME_PICKER_ITEM_HEIGHT, TextStyle itemTextStyle = DATETIME_PICKER_ITEM_TEXT_STYLE, double? dividerHeight = DATETIME_PICKER_DIVIDER_HEIGHT, double? dividerThickness = DATETIME_PICKER_DIVIDER_THICKNESS, double? dividerSpacing, Color? dividerColor, double? squeeze = DATETIME_PICKER_SQUEEZE, double? diameterRatio = DATETIME_PICKER_DIAMETER_RATIO})
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?
The value of DatePicker's diameter ratio.
final
dividerColor Color?
The value of DatePicker's Divider Color TextStyle.
final
dividerHeight double?
The value of DatePicker's Divider height.
final
dividerSpacing double?
The value of DatePicker's Divider spacing.
final
dividerThickness double?
The value of DatePicker's Divider thickness.
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?
The value of DatePicker's squeeze.
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

Constants

Default → const DateTimePickerTheme