DialogConfig class

Configuration class for dialogs.

Constructors

DialogConfig({Type? pageRouteBuilder, RouteBuilder routeBuilder = RouteBuilder.noTransition, int defaultBarrierColor = 0x80000000, bool defaultBarrierDismissible = false})
Customize the behaviour of a dialog / simple dialog with a DialogConfig.
const

Properties

defaultBarrierColor int
The default barrier (background) color for the dialog.
final
defaultBarrierDismissible bool
The default value for "barrierDismissible" for the dialog. Defines whether the dialog can be dismissed by tapping the barrier.
final
hashCode int
The hash code for this object.
no setterinherited
pageRouteBuilder Type?
The page route builder for the dialog.
final
routeBuilder RouteBuilder
The route builder for the dialog. The routeBuilder defines the transition animations for the dialog. If a pageRouteBuilder is provided, the custom builder is used.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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