LoadingToastTheme class

Theme for loading toasts.

Annotations

Constructors

LoadingToastTheme({EdgeInsetsGeometry padding = const EdgeInsets.all(24), EdgeInsetsGeometry? margin, BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(20)), double blurSigma = 20.0, Color? backgroundColor, double indicatorSize = 28.0, Color? indicatorColor, TextStyle? messageTextStyle, double messageSpacing = 12.0, Color overlayColor = const Color(0x33000000), bool ignorePointer = false, bool barrierDismissible = false})
const

Properties

backgroundColor Color?
Background color override (null uses theme-derived defaults).
final
barrierDismissible bool
Whether tapping the barrier dismisses the loading.
final
blurSigma double
Sigma value for glassmorphism backdrop blur.
final
borderRadius BorderRadiusGeometry
Border radius of the loading card.
final
hashCode int
The hash code for this object.
no setterinherited
ignorePointer bool
Whether the overlay ignores pointer events.
final
indicatorColor Color?
Indicator color override.
final
indicatorSize double
Indicator radius.
final
margin EdgeInsetsGeometry?
Outer margin.
final
messageSpacing double
Spacing between indicator and message text.
final
messageTextStyle TextStyle?
Text style for the optional message.
final
overlayColor Color
Overlay background color (barrier).
final
padding EdgeInsetsGeometry
Inner padding of the loading card.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, BorderRadiusGeometry? borderRadius, double? blurSigma, Color? backgroundColor, double? indicatorSize, Color? indicatorColor, TextStyle? messageTextStyle, double? messageSpacing, Color? overlayColor, bool? ignorePointer, bool? barrierDismissible}) LoadingToastTheme
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