ReactionListStyle class

ReactionListStyle is a class which is used to set the style for the reaction list It takes loadingIconTint, emptyTextStyle, errorTextStyle, subtitleTextStyle, width, height, background, gradient, border, borderRadius as a parameter

ReactionListStyle(
loadingIconTint: Colors.white,
emptyTextStyle: TextStyle(color: Colors.white),
errorTextStyle: TextStyle(color: Colors.white),
subtitleTextStyle: TextStyle(color: Colors.white),
background: Colors.blue,
);
Inheritance

Constructors

ReactionListStyle({Color? loadingIconTint, TextStyle? emptyTextStyle, TextStyle? errorTextStyle, TextStyle? subtitleTextStyle, TextStyle? allReactionsTextStyle, double? width, double? height, Color? background, Gradient? gradient, BoxBorder? border, double? borderRadius})

Properties

allReactionsTextStyle → TextStyle?
allReactionsTextStyle provides styling to the text "All" shown for the all reactions tab
final
background → Color?
background provides background color to the widget
finalinherited
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 reaction list is empty
final
errorTextStyle → TextStyle?
errorTextStyle provides styling for text to indicate some error has occurred while fetching the reaction 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
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtitleTextStyle → TextStyle?
subtitleTextStyle provides styling to the text in the subtitle
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