Modals class Null safety

Available Extensions

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

of<T>(BuildContext context, {bool useScaffold = true}) ModalOpener
open<T>(BuildContext context, {required WidgetBuilder builder, bool useScaffold = true, bool displayDragHandle = true, bool dismissible = true, bool draggable = true, PathRouteSettings? settings, double? width, double? height, bool expand = false, bool useRootNavigator = true, bool nestModals = false}) Future<T?>
register(ModalOpenerOverride handler) → void

Constants

android → const AndroidModalOpener
cupertino → const CupertinoModalOpener
const CupertinoModalOpener(useScaffold: true)
cupertinoNoScaffold → const CupertinoModalOpener
const CupertinoModalOpener(useScaffold: false)
desktop → const DesktopModalOpener