Toast 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
-
call(BuildContext context, String message, {String? description, ToastAction? action})
→ void
-
-
custom(BuildContext context, Widget content)
→ void
-
-
error(BuildContext context, String message, {String? description, ToastAction? action})
→ void
-
-
info(BuildContext context, String message, {String? description, ToastAction? action})
→ void
-
-
message(BuildContext context, String message, {String? description, ToastAction? action})
→ void
-
-
promise<T>(BuildContext context, Future<T> promise(), {required String loading, required dynamic success(T), required String error})
→ void
-
-
success(BuildContext context, String message, {String? description, ToastAction? action})
→ void
-
-
warning(BuildContext context, String message, {String? description, ToastAction? action})
→ void
-