ChatBackgroundConfiguration class

Constructors

ChatBackgroundConfiguration({DefaultGroupSeparatorConfiguration? defaultGroupSeparatorConfig, Color? backgroundColor, String? backgroundImage, double? height, double? width, StringWithReturnWidget? groupSeparatorBuilder, GroupedListOrder groupedListOrder = GroupedListOrder.asc, bool sortEnable = false, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, TextStyle? messageTimeTextStyle, Color? messageTimeIconColor, Widget? loadingWidget, Curve messageTimeAnimationCurve = Curves.decelerate, MessageSorter? messageSorter})
const

Properties

backgroundColor Color?
Provides background color of chat view.
final
backgroundImage String?
Provides background image of chat view.
final
defaultGroupSeparatorConfig DefaultGroupSeparatorConfiguration?
Used to give configuration of default chat separator widget.
final
groupedListOrder GroupedListOrder
Used to define the order of a GroupedListView or SliverGroupedListView.
final
groupSeparatorBuilder StringWithReturnWidget?
Provides configurations of chat separator widget.
final
hashCode int
The hash code for this object.
no setterinherited
height double?
Provides height of chat view.
final
loadingWidget Widget?
Used for giving widget while data is loading.
final
margin EdgeInsetsGeometry?
Provides margin of chat view.
final
messageSorter MessageSorter?
Provides callback to sort message
final
messageTimeAnimationCurve Curve
Used to give curve of animation which runes while user swipe to see time of message.
final
messageTimeIconColor Color?
Used to give colour of message's time while user swipe to see time of message.
final
messageTimeTextStyle TextStyle?
Used to give text style of message's time while user swipe to see time of message.
final
padding EdgeInsetsGeometry?
Provides padding of chat view.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortEnable bool
Used to enable sort in list view.
final
width double?
Provides width of chat view.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited