ZwapWeeklyCalendarPicker class
THe calendar picker to show the slots date
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ZwapWeeklyCalendarPicker
Constructors
-
ZwapWeeklyCalendarPicker({Key? key, DateTime? initialDay, required ZwapWeeklyCalendarTimes times, required dynamic handleKeyName(String key), WCPDateSlotWidgetDecorations daySlotDecoration = const WCPDateSlotWidgetDecorations.standard(), List<
TupleType< ? selected, dynamic onChange(List<DateTime, TimeOfDay> >TupleType< )?, List<DateTime, TimeOfDay> >ZwapWeeklyCalendarPickFilter> pickFilters = const [], List<ZwapWeeklyCalendarShowFilter> showFilters = const []})
Properties
- daySlotDecoration → WCPDateSlotWidgetDecorations
-
The decoration assigned by default to all day slots
final
- handleKeyName → dynamic Function(String key)
-
CallBack to handle the key name for any text
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialDay → DateTime?
-
Verrà arrotondato al lunedi della settamana di
intialDay
final - key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
onChange
→ (dynamic Function(List<
TupleType< )?)DateTime, TimeOfDay> > -
called each time element is added/removed
final
-
pickFilters
→ List<
ZwapWeeklyCalendarPickFilter> -
Used to check if user can add a slot to the selected slot
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selected
→ List<
TupleType< ?DateTime, TimeOfDay> > -
The initial selected elements
final
- times → ZwapWeeklyCalendarTimes
-
I dati da mostrare nel picker
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ZwapWeeklyCalendarPicker> -
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