SnackBarPlus class
Methods
-
hideCurrentSnackBar({SnackBarClosedReason reson = SnackBarClosedReason.hide})
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeCurrentSnackBar({SnackBarClosedReason reson = SnackBarClosedReason.remove})
→ void
-
-
show({required Widget child, Color? backgroundColor, Duration? duration, SnackBarAction? action, Animation<double>? animation, SnackBarBehavior? behavior, Key? key, double? elevation, double? width, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, dynamic onVisibile()?, ShapeBorder? shape})
→ void
-
Shows custom SnackBar
-
showText(String text, {Color? textColor, int textLines = 3, double fontSize = 16, FontWeight fontWeight = FontWeight.normal, TextAlign textAlign = TextAlign.center, Color? backgroundColor, Duration? duration, SnackBarAction? action, Animation<double>? animation, SnackBarBehavior? behavior, Key? key, double? elevation, double? width, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, dynamic onVisibile()?, ShapeBorder? shape})
→ void
-
Shows default SnackBar with some customizations
-
toString()
→ String
-
A string representation of this object.
inherited