MessageThemeData class
Theme data for Message.
- Annotations
Constructors
- MessageThemeData({TextStyle? textStyle, TextStyle? titleTextStyle, EdgeInsets? titlePadding, EdgeInsets? padding, Color? highlightColor, Color? backgroundColor, double? itemSpacing, Color? infoColor, Color? errorColor, Color? warningColor, Color? successColor, Curve? animationCurve, Duration? duration, Duration? animationDuration})
-
Creates a MessageThemeData.
const
Properties
- animationCurve → Curve?
-
The animation curve.
final
- animationDuration → Duration?
-
The duration of the message animation.
final
- backgroundColor → Color?
-
The background color.
final
- duration → Duration?
-
The duration of the message.
final
- errorColor → Color?
-
The error color.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- highlightColor → Color?
-
The highlight color for the top border.
final
- infoColor → Color?
-
The info color.
final
- itemSpacing → double?
-
The space between two items.
final
- padding → EdgeInsets?
-
The box padding.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- successColor → Color?
-
The success color.
final
- textStyle → TextStyle?
-
The text style for the message.
final
- titlePadding → EdgeInsets?
-
The title padding.
final
- titleTextStyle → TextStyle?
-
The text style for the title.
final
- warningColor → Color?
-
The warning color.
final
Methods
-
copyWith(
{TextStyle? textStyle, TextStyle? titleTextStyle, EdgeInsets? titlePadding, EdgeInsets? padding, Color? highlightColor, Color? backgroundColor, double? itemSpacing, Color? infoColor, Color? errorColor, Color? warningColor, Color? successColor, Curve? animationCurve, Duration? duration, Duration? animationDuration}) → MessageThemeData - Makes a copy of MessageThemeData overwriting selected fields.
-
merge(
MessageThemeData? other) → MessageThemeData - Merges the theme data MessageThemeData.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant MessageThemeData other) → bool -
The equality operator.
override