DDSSnackbar 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
-
show({Key? key, required BuildContext context, required Widget content, Color? backgroundColor = Colors.black, Gradient? gradient, Color textColor = Colors.white, Duration duration = const Duration(seconds: 3), SnackBarAction? action, Widget? customActionButton, Widget? icon, double elevation = 6.0, double borderRadius = 6.0, Border? border, BoxBorder? customBorder, SnackbarVariant variant = SnackbarVariant.basic, SnackBarBehavior behavior = SnackBarBehavior.floating, EdgeInsetsGeometry? padding, bool showCloseIcon = false, double? width, double? height, Color? closeIconColor, EdgeInsetsGeometry? margin, Animation<double>? animation, VoidCallback? onVisible, DismissDirection? dismissDirection, Clip clipBehavior = Clip.hardEdge, AlignmentGeometry contentAlignment = Alignment.centerLeft})
→ void
-