XBCalendarHms class
Constructors
-
XBCalendarHms({required ValueChanged<List<DateTime>> onDone, Key? key, XBValueGetter<bool, List<DateTime>>? onWillDone, ValueChanged<DateTime>? onMonthChange, VoidCallback? onCancel, String? title, String? doneBtnText, DateTime? minDateTime, DateTime? maxDateTime, DateTime? minEnableDateTime, DateTime? maxEnableDateTime, List<DateTime>? selectedDates, String yearUnit = "年", String monthUnit = "月", List<String>? weekDays, XBCalendarDisplay? display, List<DateTime>? initMarkDates, Stream<XBCalendarStreamData>? dataStream})
-
Methods
-
buildWidget(XBCalendarVM vm, BuildContext context)
→ Widget
-
构建主体
inherited
-
castVM(XBCalendarVM vm)
→ XBCalendarHmsVM
-
-
chooseBtn({required String text, required VoidCallback onPrevious, required VoidCallback onNext, MainAxisAlignment? mainAxisAlignment})
→ Widget
-
inherited
-
createElement()
→ StatefulElement
-
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState()
→ XBWidgetState<XBVM>
-
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
-
generateVM(BuildContext context)
→ XBCalendarHmsVM
-
生成vm
override
-
hms(XBCalendarVM vm)
→ Widget
-
override
-
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