UsersStyle class
UsersStyle is a data class that has styling-related properties to customize the appearance of CometChatUsers
- Inheritance
-
- Object
- BaseStyles
- UsersStyle
Constructors
- UsersStyle({TextStyle? titleStyle, Color? backIconTint, Color? searchBorderColor, Color? searchBackground, double? searchBorderRadius, Color? searchIconTint, double? searchBorderWidth, TextStyle? searchPlaceholderStyle, TextStyle? searchTextStyle, Color? loadingIconTint, TextStyle? emptyTextStyle, TextStyle? errorTextStyle, TextStyle? sectionHeaderTextStyle, Color? onlineStatusColor, Color? separatorColor, Color? selectionIconTint, Color? submitIconTint, double? width, double? height, Color? background, BoxBorder? border, double? borderRadius, Gradient? gradient})
-
const
Properties
- background → Color?
-
background provides background color to the widget
finalinherited
- backIconTint → Color?
-
backIconTint provides color to close button
final
- border → BoxBorder?
-
border provides border around the widget
finalinherited
- borderRadius → double?
-
borderRadius provides radius to the border around the widget
finalinherited
- borderRadiusGeometry → BorderRadiusGeometry?
-
borderRadiusGeometry
finalinherited
- elevation → double?
-
elevation
finalinherited
- emptyTextStyle → TextStyle?
-
emptyTextStyle provides styling for text to indicate user list is empty
final
- errorTextStyle → TextStyle?
-
errorTextStyle provides styling for text to indicate some error has occurred while fetching the user list
final
- gradient → Gradient?
-
gradient provides (background) gradient to the widget
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
height provides height to the widget
finalinherited
- loadingIconTint → Color?
-
loadingIconTint provides color to loading icon
final
- onlineStatusColor → Color?
-
onlineStatusColor set online status color
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchBackground → Color?
-
searchBackground provides color to background of search box
final
- searchBorderColor → Color?
-
searchBorderColor provides color to border of search box
final
- searchBorderRadius → double?
-
searchBorderRadius provides radius to border of search box
final
- searchBorderWidth → double?
-
searchBorderWidth provides width to border of search box
final
- searchIconTint → Color?
-
searchIconTint provides color to search button
final
- searchPlaceholderStyle → TextStyle?
-
titleStyle provides styling for text inside the placeholder
final
- searchTextStyle → TextStyle?
-
searchTextStyle provides styling for text inside the search box
final
- sectionHeaderTextStyle → TextStyle?
-
sectionHeaderTextStyle provides styling for text separating users alphabetically
final
- selectionIconTint → Color?
-
selectionIconTint set selection icon color
final
- separatorColor → Color?
-
separatorColor set separator color
final
- submitIconTint → Color?
-
submitIconTint set submit icon tint
final
- titleStyle → TextStyle?
-
titleStyle provides styling for title text
final
- width → double?
-
width provides width to the widget
finalinherited
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