FlashBarTheme class

Inheritance
Annotations

Constructors

FlashBarTheme({EdgeInsets margin = EdgeInsets.zero, Color? backgroundColor, double elevation = 8.0, Color? shadowColor, Color? surfaceTintColor, ShapeBorder? shape, EdgeInsets padding = const EdgeInsets.all(16.0), Color? iconColor, TextStyle? titleTextStyle, TextStyle? contentTextStyle})
const

Properties

backgroundColor Color?
final
contentTextStyle TextStyle?
final
elevation double
Default is 8.0 .
final
hashCode int
The hash code for this object.
no setterinherited
iconColor Color?
final
margin EdgeInsets
Default is zero.
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
titleTextStyle TextStyle?
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({FlashPosition? position, FlashBehavior? behavior, EdgeInsets? margin, bool? enableVerticalDrag, bool? enableHorizontalDrag, Curve? forwardAnimationCurve, Curve? reverseAnimationCurve, Color? backgroundColor, double? elevation, Color? shadowColor, Color? surfaceTintColor, ShapeBorder? shape, EdgeInsets? padding, Color? iconColor, TextStyle? titleTextStyle, TextStyle? contentTextStyle}) FlashBarTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant FlashBarTheme? other, double t) FlashBarTheme
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