SnackbarHelper 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
-
defaultSnackbar({String? message, String? title, BuildContext? context, EdgeInsets? padding, EdgeInsets? margin, Duration? duration = const Duration(seconds: 3)})
→ Snackbar
-
Get a success notification Snackbar.
-
withIcon({String? message, String? title, BuildContext? context, Widget? trailingButton, Color? iconColor, Color? textColor, Color? bgColor, Widget? icon, SnackbarPosition? snackbarPosition, SnackbarStyle? snackbarStyle, Duration duration = const Duration(seconds: 3)})
→ Snackbar
-
Get a error notification Snackbar