FabrikToast class
Utility class to show simple floating toasts anywhere in the app.
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
-
show(
BuildContext context, {required String message, FabrikToastPosition position = FabrikToastPosition.bottom, Duration duration = const Duration(seconds: 2), Color backgroundColor = const Color(0xFF323232), BorderRadius borderRadius = const BorderRadius.all(Radius.circular(100)), Color textColor = Colors.white, double fontSize = 14.0, IconData? icon, Color iconColor = Colors.white, double iconSize = 24.0, VoidCallback? onTap}) → Future< void> - Shows a toast message on top of the current overlay.