BookingAndPublishSlotsMain class

Inheritance

Constructors

BookingAndPublishSlotsMain({Key? key, int numberOfDays = 7, String bookedButtonName = "Book Slot", Color selectedDateColor = const Color(0xFFFFC93C), Color unSelectedDateColor = Colors.white, Color selectedSlotsColor = const Color(0xFFFFF6DE), Color selectedSlotsBorderColor = const Color(0xFFFFC93C), Color unSelectedSlotsColor = Colors.white, Color unSelectedSlotsBorderColor = const Color(0xFFE3E3E3), Color bookedSlotsColor = const Color(0x1A13176A), Color bookedSlotsBorderColor = const Color(0xE613176A), List<String> groupLabels = const ["Night (12 AM - 6 AM)", "Morning (6 AM - 12 PM)", "Afternoon (12 PM - 6 PM)", "Evening (6 PM - 12 AM)"], List<String> groupAssets = const ["packages/booking_and_publish_slots/assets/sunrise.svg", "packages/booking_and_publish_slots/assets/sunrise.svg", "packages/booking_and_publish_slots/assets/sunrise.svg", "packages/booking_and_publish_slots/assets/sunrise.svg"]})
const

Properties

bookedButtonName String
final
bookedSlotsBorderColor Color
final
bookedSlotsColor Color
final
groupAssets List<String>
final
groupLabels List<String>
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
numberOfDays int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDateColor Color
final
selectedSlotsBorderColor Color
final
selectedSlotsColor Color
final
unSelectedDateColor Color
final
unSelectedSlotsBorderColor Color
final
unSelectedSlotsColor Color
final

Methods

createElement() → ConsumerStatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → ConsumerState<BookingAndPublishSlotsMain>
Creates the mutable state for this widget at a given location in the tree.
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