DialogHelper class

Helper class to handle dialog appearance Keeps the latest dialog and closes the previous dialog automatically

Constructors

DialogHelper()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hide(BuildContext context, {int? id}) → void
hideImmediate(BuildContext context, {int? id}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onWillPop() Future<bool>
show(BuildContext context, DialogWidget dialog, {bool rootOverlay = true, int? id, bool hidePrevious = true}) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

defaultStyle DialogStyle
getter/setter pair

Constants

BACKGROUND_COLOR → const Color
DEFAULT_DURATION → const Duration