Message 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, {required Widget content, Duration duration = const Duration(seconds: 3), Widget? icon, void onClick()?, void onClose()?})
→ void
-
-
info(BuildContext context, {required Widget content, Duration duration = const Duration(seconds: 3), Widget? icon, void onClick()?, void onClose()?})
→ void
-
-
success(BuildContext context, {required Widget content, Duration duration = const Duration(seconds: 3), Widget? icon, void onClick()?, void onClose()?})
→ void
-
-
warning(BuildContext context, {required Widget content, Duration duration = const Duration(seconds: 3), Widget? icon, void onClick()?, void onClose()?})
→ void
-