GlobalComponent class

Global Component is a class with static method that allow to performs action that do not required to implement a class.

An example of where this class is usefult to use is whenthe user want to show a dialog.

In this case the user need to do

GlobalComponent.showAppDialog(....);

Constructors

GlobalComponent()

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

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

Static Methods

showAppDialog({required BuildContext context, required String title, required String message, required String closeMsg, required ImageProvider<Object> imageProvided, bool withIcon = true}) → void