DateTimePickerTheme class

Mixed in types

Constructors

DateTimePickerTheme({Color backgroundColor = dateTimePickerBackgroundColor, TextStyle? cancelTextStyle, TextStyle? titleTextStyle, TextStyle? confirmTextStyle, Widget? cancel, Widget? confirm, Widget? headerWidget, String title = '', Widget? selectionOverlay, Color selectionOverlayColor = dateTimePickerSelectionOverlayColor, bool showTitle = dateTimePickerShowTitleDefault, double pickerHeight = dateTimePickerHeight, double titleHeight = dateTimePickerTitleHeight, double itemHeight = dateTimePickerItemHeight, TextStyle itemTextStyle = dateTimePickerItemTextStyle})
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
headerWidget Widget?
Custom title Widget. If specify a title widget, the cancel and confirm widgets will not display.
final
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
selectionOverlayColor Color
selection Overlay Color Color. 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 String
title String. If specify a title widget, the cancel and confirm widgets will not display.
final
titleHeight double
The value of DatePicker's title height.
final
titleTextStyle TextStyle?
Default title widget's TextStyle.
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

dafault → const DateTimePickerTheme