OverlayStateConfig class

Configuration for individual overlay state appearance

Annotations

Constructors

OverlayStateConfig({Color? backgroundColor, BorderRadius? borderRadius, EdgeInsets? padding, EdgeInsets? margin, double elevation = 4.0, Color? shadowColor, Color? iconColor, Color? textColor, double iconSize = 48.0, double maxWidth = 320.0, double? minHeight, bool showIcon = true, bool showMessage = true, Widget? customWidget})
const

Properties

backgroundColor → Color?
Background color of the overlay container
final
borderRadius → BorderRadius?
Border radius of the overlay container
final
customWidget → Widget?
Custom widget to replace default overlay content
final
elevation → double
Elevation (shadow depth) of the overlay
final
hashCode → int
The hash code for this object.
no setterinherited
iconColor → Color?
Color for the state icon
final
iconSize → double
Size of the state icon
final
margin → EdgeInsets?
Margin around the overlay container
final
maxWidth → double
Maximum width of the overlay
final
minHeight → double?
Minimum height of the overlay
final
padding → EdgeInsets?
Padding inside the overlay container
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadowColor → Color?
Shadow color for the overlay
final
showIcon → bool
Whether to show the icon
final
showMessage → bool
Whether to show the message text
final
textColor → Color?
Color for the state text/message
final

Methods

copyWith({Color? backgroundColor, BorderRadius? borderRadius, EdgeInsets? padding, EdgeInsets? margin, double? elevation, Color? shadowColor, Color? iconColor, Color? textColor, double? iconSize, double? maxWidth, double? minHeight, bool? showIcon, bool? showMessage, Widget? customWidget}) → OverlayStateConfig
Copy with method for easy customization
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