ResolvedFeedbackTheme class

A FeedbackTheme with every value set, see FeedbackTheme.of.

Annotations

Properties

bodyStyle → TextStyle
Font of messages, without size or color.
final
border → BorderSide?
Outline of dialogs, if any.
final
buttonBorder → BorderSide?
Outline of buttons, if any.
final
buttonRadius → double
Corner radius of buttons.
final
buttonShadows → List<BoxShadow>?
Shadows of filled buttons, if any.
final
buttonStyle → TextStyle
Font of button labels, without size or color.
final
error → Color
Destructive buttons and error toasts.
final
hashCode → int
The hash code for this object.
no setterinherited
onError → Color
Text on error.
final
onPrimary → Color
Text on primary.
final
onSurface → Color
Text on surface.
final
primary → Color
Fill of primary buttons and info toasts.
final
radius → double
Corner radius of dialogs.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadows → List<BoxShadow>?
Shadows of dialogs in place of their elevation, if set.
final
success → Color
Success toasts.
final
surface → Color
Background of dialogs.
final
titleStyle → TextStyle
Font of titles, without size or color.
final
warning → Color
Warning toasts.
final

Methods

apply(ThemeData theme) → ThemeData
A ThemeData whose color scheme and fonts are this theme's, for the Material widgets inside a dialog or toast.
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

Static Methods

onColor(Color background) → Color
Black or white, whichever reads on background.