TxCupertinoPicker class abstract

Inheritance
Implementers

Constructors

TxCupertinoPicker.new({required ValueChanged<DateTime> onChanged, DateTime? minimumValue, DateTime? maximumValue, Key? key, Color? backgroundColor, double? itemExtent = _kItemExtent, bool? useMagnifier = _kUseMagnifier, double? magnification = _kMagnification, double? squeeze = _kSqueeze, double? diameterRatio = _kDiameterRatio, TextStyle? textStyle, TextStyle? unselectedTextStyle, Color? unselectedColor, DateTime? initialValue})
Constructs an iOS style date picker.

Properties

backgroundColor Color?
Background color of date picker.
final
diameterRatio double
final
hashCode int
The hash code for this object.
no setterinherited
initialValue DateTime?
The initial date and/or time of the picker. Defaults to the present date and time. The present must conform to the intervals set in minimumValue, maximumValue.
final
itemExtent double
The uniform height of all children.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
magnification double
The zoomed-in rate of the magnifier, if it is used.
final
maximumValue DateTime?
The maximum selectable date that the picker can settle on.
final
minimumValue DateTime?
The minimum selectable date that the picker can settle on.
final
onChanged ValueChanged<DateTime>
Callback called when the selected date and/or time changes. If the new selected DateTime is not valid, or is not in the minimumValue through maximumValue range, this callback will not be called.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
squeeze double
The angular compactness of the children on the wheel.
final
textStyle TextStyle?
final
unselectedColor Color?
final
unselectedTextStyle TextStyle?
final
useMagnifier bool
Whether to use the magnifier for the center item of the wheel.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
inherited
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, int wrapWidth = 65}) 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