FastNotificationCenter class
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
Static Methods
-
error(BuildContext context, String message, {Key? key, FastNotificationCenterOptions options = _kDefaultErrorOptions})
→ void
-
Displays an error notification.
-
info(BuildContext context, String message, {Key? key, FastNotificationCenterOptions options = _kDefaultInfoOptions})
→ void
-
Displays an info notification.
-
success(BuildContext context, String message, {Key? key, FastNotificationCenterOptions options = _kDefaultSuccessOptions})
→ void
-
Displays an success notification.
-
warn(BuildContext context, String message, {Key? key, FastNotificationCenterOptions options = _kDefaultWarnOptions})
→ void
-
Displays an warn notification.