CometChatSchedulerBubble class

CometChatSchedulerBubble is a widget which is used to display a meeting bubble. Use this widget along with SchedulerBubbleStyle to customize the appearance of CometChatSchedulerBubble.

CometChatSchedulerBubble(
 schedulerMessage: schedulerMessage,
 onScheduleClick: (selectedDateTime, schedulerMessage) {
 //Action on schedule button click goes here
 },
 style: SchedulerBubbleStyle(
 borderRadius: 8,
 ),
 );
Inheritance

Constructors

CometChatSchedulerBubble({Key? key, required SchedulerMessage schedulerMessage, SchedulerBubbleStyle? schedulerBubbleStyle, dynamic onScheduleClick(DateTime selectedDateTime, SchedulerMessage object)?, CometChatTheme? theme, TimeSlotSelectorStyle? timeSlotSelectorStyle, QuickViewStyle? quickViewStyle})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onScheduleClick → dynamic Function(DateTime selectedDateTime, SchedulerMessage object)?
onScheduleClick is a callback which provides DateTime and SchedulerMessage when user clicks on schedule button.
final
quickViewStyle QuickViewStyle?
quickViewStyle property represents the currently logged-in user.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedulerBubbleStyle SchedulerBubbleStyle?
schedulerBubbleStyle is an object of SchedulerBubbleStyle which is used to customize the appearance of CometChatSchedulerBubble
final
schedulerMessage SchedulerMessage
schedulerMessage is an object of SchedulerMessage which is used to create a scheduler bubble.
final
theme CometChatTheme?
theme is an object of CometChatTheme which is used to set default styling to the scheduler bubble.
final
timeSlotSelectorStyle TimeSlotSelectorStyle?
timeSlotSelectorStyle is an object of TimeSlotSelectorStyle which is used to customize the appearance of CometChatTimeSlotSelector
final

Methods

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