SnackbarHandler constructor
SnackbarHandler(
- Duration duration, {
- Color? backgroundColor,
- double? elevation,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- double? width,
- ShapeBorder? shape,
- SnackBarBehavior? behavior,
- SnackBarAction? action,
- Animation<
double> ? animation, - VoidCallback? onVisible,
- String? customMessage,
- TextStyle? textStyle,
- bool printLogs = false,
Implementation
SnackbarHandler(
this.duration, {
this.backgroundColor,
this.elevation,
this.margin,
this.padding,
this.width,
this.shape,
this.behavior,
this.action,
this.animation,
this.onVisible,
this.customMessage,
this.textStyle,
this.printLogs = false,
});