ScrollDatePicker class

Inheritance

Constructors

ScrollDatePicker({Key? key, List<DatePickerViewType>? viewType, required DateTime selectedDate, DateTime? minimumDate, DateTime? maximumDate, required ValueChanged<DateTime> onDateTimeChanged, Locale? locale, DatePickerOptions? options, DatePickerScrollViewOptions? scrollViewOptions, Widget? indicator})

Properties

hashCode int
The hash code for this object.
no setterinherited
indicator Widget?
Indicator displayed in the center of the ScrollDatePicker
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
locale Locale
Set calendar language
final
maximumDate DateTime
Maximum year that the picker can be scrolled
final
minimumDate DateTime
Minimum year that the picker can be scrolled
final
onDateTimeChanged ValueChanged<DateTime>
On optional listener that's called when the centered item changes.
final
options DatePickerOptions
A set that allows you to specify options related to ListWheelScrollView.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollViewOptions DatePickerScrollViewOptions
A set that allows you to specify options related to ScrollView.
final
selectedDate DateTime
The currently selected date.
final
viewType List<DatePickerViewType>?
A list that allows you to specify the type of date view. And also the order of the viewType in list is the order of the date view. If this list is null, the default order of locale is set. TODO("Satoshi"): Specify the type of date view visible.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ScrollDatePicker>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited