SilBottomDatePickerWidget class

Inheritance

Constructors

SilBottomDatePickerWidget(String title, {DateTime? initialDateTime, void tapCancelFunc()?, void tapSureSeletedFunc(DateTime selectedTime)?, double? height, CupertinoDatePickerMode? mode, DateTime? minimumDate, DateTime? maximumDate, int minimumYear = 1, int? maximumYear, bool use24hFormat = false, DatePickerDateOrder? dateOrder, Key? key, Color? themeColor})
const

Properties

child Widget?
child
finalinherited
dateOrder DatePickerDateOrder?
确定日期模式下CupertinoDatePicker内列的顺序。默认为区域设置的默认日期格式/顺序
final
hashCode int
The hash code for this object.
no setterinherited
height double?
高度,默认230
final
initialDateTime DateTime?
默认选中的日期和时间
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
maximumDate DateTime?
最大可选日期
final
maximumYear int?
选择器可以滚动到的最大年份
final
minimumDate DateTime?
最小可选日期
final
minimumYear int
选择器可以滚动到的最小年份
final
mode CupertinoDatePickerMode?
选择时间的模式
final
radius double?
弧度
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tapCancelFunc → void Function()?
取消
final
tapSureFunc → void Function()?
确定
finalinherited
tapSureSeletedFunc → void Function(DateTime selectedTime)?
确定,选中了第几个
final
themeColor Color?
主题颜色
finalinherited
title String
标题
final
titleWidget Widget?
顶部标题组件,自定义
finalinherited
use24hFormat bool
是否使用24小时格式
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() SilBottomPickerBaseWidgetState<SilBottomDatePickerWidget>
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, 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