FlashToastTheme class

Inheritance
Annotations

Constructors

FlashToastTheme({Color? backgroundColor, double elevation = 4.0, Color? shadowColor, Color? surfaceTintColor, ShapeBorder? shape = const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(4.0))), AlignmentGeometry alignment = const Alignment(0.0, 0.5), Color? iconColor, TextStyle? textStyle, EdgeInsets margin = const EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0), EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0)})
const

Properties

alignment AlignmentGeometry
final
backgroundColor Color?
final
elevation double
final
hashCode int
The hash code for this object.
no setterinherited
iconColor Color?
final
margin EdgeInsets
final
padding EdgeInsets
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
final
shape ShapeBorder?
final
surfaceTintColor Color?
final
textStyle TextStyle?
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({Color? backgroundColor, double? elevation, Color? shadowColor, Color? surfaceTintColor, ShapeBorder? shape, AlignmentGeometry? alignment, Color? iconColor, TextStyle? textStyle, EdgeInsets? margin, EdgeInsets? padding}) FlashToastTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant FlashToastTheme? other, double t) FlashToastTheme
Linearly interpolate with another ThemeExtension object.
override
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