StreamPollInteractorThemeData class

A style that overrides the default appearance of StreamPollInteractor widget when used with StreamPollCreatorTheme or with the overall StreamChatTheme's StreamChatThemeData.pollInteractorTheme.

Mixed-in types

Constructors

StreamPollInteractorThemeData.new({TextStyle? pollTitleStyle, TextStyle? pollSubtitleStyle, TextStyle? pollOptionTextStyle, TextStyle? pollOptionVoteCountTextStyle, OutlinedBorder? pollOptionCheckboxShape, Color? pollOptionCheckboxCheckColor, Color? pollOptionCheckboxActiveColor, BorderSide? pollOptionCheckboxBorderSide, double? pollOptionVotesProgressBarMinHeight, Color? pollOptionVotesProgressBarTrackColor, Color? pollOptionVotesProgressBarValueColor, Color? pollOptionVotesProgressBarWinnerColor, BorderRadius? pollOptionVotesProgressBarBorderRadius, ButtonStyle? pollActionButtonStyle, TextStyle? pollActionDialogTitleStyle, TextStyle? pollActionDialogTextFieldStyle, Color? pollActionDialogTextFieldFillColor, BorderRadius? pollActionDialogTextFieldBorderRadius})
A style that overrides the default appearance of StreamPollInteractor widget when used with StreamPollCreatorTheme or with the overall StreamChatTheme's StreamChatThemeData.pollInteractorTheme.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
pollActionButtonStyle ButtonStyle?
The button style of the poll action buttons.
final
pollActionDialogTextFieldBorderRadius BorderRadius?
The border radius of the poll action dialog text field.
final
pollActionDialogTextFieldFillColor Color?
The fill color of the poll action dialog text field.
final
pollActionDialogTextFieldStyle TextStyle?
The text style of the poll action dialog text field.
final
pollActionDialogTitleStyle TextStyle?
The text style of the poll action dialog title.
final
pollOptionCheckboxActiveColor Color?
The color used for the checkbox when it's active.
final
pollOptionCheckboxBorderSide BorderSide?
The border configuration of the poll option checkbox.
final
pollOptionCheckboxCheckColor Color?
The color used for the poll option checkbox check.
final
pollOptionCheckboxShape OutlinedBorder?
The shape of the poll option checkbox.
final
pollOptionTextStyle TextStyle?
The text style of the poll option.
final
pollOptionVoteCountTextStyle TextStyle?
The text style of the poll option vote count.
final
pollOptionVotesProgressBarBorderRadius BorderRadius?
The border radius of the poll option votes progress bar.
final
pollOptionVotesProgressBarMinHeight double?
The minimum height of the poll option votes progress bar.
final
pollOptionVotesProgressBarTrackColor Color?
The track color of the poll option votes progress bar.
final
pollOptionVotesProgressBarValueColor Color?
The color of the poll option votes progress bar value.
final
pollOptionVotesProgressBarWinnerColor Color?
The color of the poll option votes progress bar value when it's the winner.
final
pollSubtitleStyle TextStyle?
The text style of the poll subtitle.
final
pollTitleStyle TextStyle?
The text style of the poll title.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({TextStyle? pollTitleStyle, TextStyle? pollSubtitleStyle, TextStyle? pollOptionTextStyle, TextStyle? pollOptionVoteCountTextStyle, OutlinedBorder? pollOptionCheckboxShape, Color? pollOptionCheckboxCheckColor, Color? pollOptionCheckboxActiveColor, BorderSide? pollOptionCheckboxBorderSide, double? pollOptionVotesProgressBarMinHeight, Color? pollOptionVotesProgressBarTrackColor, Color? pollOptionVotesProgressBarValueColor, Color? pollOptionVotesProgressBarWinnerColor, BorderRadius? pollOptionVotesProgressBarBorderRadius, ButtonStyle? pollActionButtonStyle, TextStyle? pollActionDialogTitleStyle, TextStyle? pollActionDialogTextFieldStyle, Color? pollActionDialogTextFieldFillColor, BorderRadius? pollActionDialogTextFieldBorderRadius}) StreamPollInteractorThemeData
Copies this StreamPollInteractorThemeData with some new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
lerp(StreamPollInteractorThemeData a, StreamPollInteractorThemeData b, double t) StreamPollInteractorThemeData
Linearly interpolate between two StreamPollInteractorThemeData.
merge(StreamPollInteractorThemeData? other) StreamPollInteractorThemeData
Merges this StreamPollInteractorThemeData with the other
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
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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