StreamPollCreatorThemeData class

A style that overrides the default appearance of StreamPollResultsDialog widgets when used with StreamPollResultsDialogTheme or with the overall StreamChatTheme's StreamChatThemeData.pollResultsDialogTheme.

Mixed-in types

Constructors

StreamPollCreatorThemeData.new({Color? backgroundColor, TextStyle? appBarTitleStyle, double? appBarElevation, Color? appBarBackgroundColor, Color? questionTextFieldFillColor, TextStyle? questionHeaderStyle, TextStyle? questionTextFieldStyle, TextStyle? questionTextFieldErrorStyle, BorderRadius? questionTextFieldBorderRadius, TextStyle? optionsHeaderStyle, TextStyle? optionsTextFieldStyle, Color? optionsTextFieldFillColor, TextStyle? optionsTextFieldErrorStyle, BorderRadius? optionsTextFieldBorderRadius, Color? switchListTileFillColor, TextStyle? switchListTileTitleStyle, TextStyle? switchListTileErrorStyle, BorderRadius? switchListTileBorderRadius})
A style that overrides the default appearance of StreamPollResultsDialog widgets when used with StreamPollResultsDialogTheme or with the overall StreamChatTheme's StreamChatThemeData.pollResultsDialogTheme.
const

Properties

appBarBackgroundColor Color?
The background color of the appBar.
final
appBarElevation double?
The elevation of the appBar.
final
appBarTitleStyle TextStyle?
The text style of the appBar title.
final
backgroundColor Color?
The background color of the poll creator.
final
hashCode int
The hash code for this object.
no setteroverride
optionsHeaderStyle TextStyle?
The style of the options header text.
final
optionsTextFieldBorderRadius BorderRadius?
The border radius of the options text field.
final
optionsTextFieldErrorStyle TextStyle?
The text style of the options error text when the options are invalid.
final
optionsTextFieldFillColor Color?
The fill color of the options text field.
final
optionsTextFieldStyle TextStyle?
The text style of the options text field.
final
questionHeaderStyle TextStyle?
The style of the question header text.
final
questionTextFieldBorderRadius BorderRadius?
The border radius of the question text field.
final
questionTextFieldErrorStyle TextStyle?
The text style of the question error text when the question is invalid.
final
questionTextFieldFillColor Color?
The fill color of the question text field.
final
questionTextFieldStyle TextStyle?
The text style of the question text field.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
switchListTileBorderRadius BorderRadius?
The border radius of the switch list tile.
final
switchListTileErrorStyle TextStyle?
The text style of the switch list tile error text when the switch list tile is invalid.
final
switchListTileFillColor Color?
The fill color of the switch list tile.
final
switchListTileTitleStyle TextStyle?
The text style of the switch list tile title.
final

Methods

copyWith({Color? backgroundColor, TextStyle? appBarTitleStyle, double? appBarElevation, Color? appBarBackgroundColor, Color? questionTextFieldFillColor, TextStyle? questionHeaderStyle, TextStyle? questionTextFieldStyle, TextStyle? questionTextFieldErrorStyle, BorderRadius? questionTextFieldBorderRadius, Color? optionsTextFieldFillColor, TextStyle? optionsHeaderStyle, TextStyle? optionsTextFieldStyle, TextStyle? optionsTextFieldErrorStyle, BorderRadius? optionsTextFieldBorderRadius, Color? switchListTileFillColor, TextStyle? switchListTileTitleStyle, TextStyle? switchListTileErrorStyle, BorderRadius? switchListTileBorderRadius}) StreamPollCreatorThemeData
Copies this StreamPollCreatorThemeData with some new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
lerp(StreamPollCreatorThemeData a, StreamPollCreatorThemeData b, double t) StreamPollCreatorThemeData
Linearly interpolate between two StreamPollCreatorThemeData.
merge(StreamPollCreatorThemeData? other) StreamPollCreatorThemeData
Merges this StreamPollCreatorThemeData 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