DateTimePickerTheme class
- Mixed-in types
Constructors
- DateTimePickerTheme({Color backgroundColor = DATETIME_PICKER_BACKGROUND_COLOR, TextStyle? cancelTextStyle, TextStyle? confirmTextStyle, Widget? cancel, Widget? confirm, Widget? title, Widget? selectionOverlay, 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})
-
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
- 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
- selectionOverlay → Widget?
-
Custom selection Overlay Widget. If specify a selection widget, the default will be overwritten.
final
- 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
- 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
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- Default → const DateTimePickerTheme