PollsBubbleStyle class

PollsBubbleStyle is a data class that has styling-related properties to customize the appearance of CometChatPollsBubble

Constructors

PollsBubbleStyle({TextStyle? questionTextStyle, TextStyle? pollResultTextStyle, TextStyle? voteCountTextStyle, TextStyle? pollOptionsTextStyle, Color? radioButtonColor, Color? pollOptionsBackgroundColor, Color? selectedOptionColor, Color? unSelectedOptionColor, Color? backgroundColor})
poll bubble style
const

Properties

backgroundColor Color?
backgroundColor used to customise the background color of the polls bubble
final
hashCode int
The hash code for this object.
no setterinherited
pollOptionsBackgroundColor Color?
pollOptionsBackgroundColor poll option bar background color
final
pollOptionsTextStyle TextStyle?
pollOptionsTextStyle poll options text style
final
pollResultTextStyle TextStyle?
pollResultTextStyle poll result text style
final
questionTextStyle TextStyle?
questionTextStyle question text style
final
radioButtonColor Color?
radioButtonColor radio button color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedOptionColor Color?
selectedOptionColor selected option poll bar color
final
unSelectedOptionColor Color?
unSelectedOptionColor unselected option poll bar color
final
voteCountTextStyle TextStyle?
voteCountTextStyle vote count text style
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