DialogConfig class
Configuration for dialog appearance and behavior
Constructors
Properties
- barrierColor ↔ Color
-
Barrier color
getter/setter pair
- barrierLabel ↔ String
-
Barrier label
getter/setter pair
- defaultAnimation ↔ DialogAnimationType
-
Default animation type
getter/setter pair
- defaultBackgroundColor ↔ Color?
-
Default background color (null = auto-calculate based on theme)
getter/setter pair
- defaultBarrierDismissible ↔ bool
-
Barrier dismissible by default
getter/setter pair
- defaultCancelButtonColor ↔ Color
-
Default cancel button color
getter/setter pair
- defaultCancelText ↔ String
-
Default cancel button text
getter/setter pair
- defaultConfirmButtonColor ↔ Color?
-
Default confirm button color (null = use theme primary)
getter/setter pair
- defaultConfirmText ↔ String
-
Default confirm button text
getter/setter pair
- defaultDesignStyle ↔ ContentDesignStyle
-
Default design style: solid (filled) or outlined (light bg + border).
getter/setter pair
-
defaultIconColors
↔ Map<
SnackbarType, Color> ? -
Default icon colors for different types (optional)
getter/setter pair
- defaultShowCancelButton ↔ bool
-
Show cancel button by default
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transitionDuration ↔ Duration
-
Transition duration
getter/setter pair
Methods
-
applyTheme(
Brightness brightness) → void - Apply theme settings
-
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