SnackbarHandler constructor

SnackbarHandler(
  1. Duration duration, {
  2. Color? backgroundColor,
  3. double? elevation,
  4. EdgeInsetsGeometry? margin,
  5. EdgeInsetsGeometry? padding,
  6. double? width,
  7. ShapeBorder? shape,
  8. SnackBarBehavior? behavior,
  9. SnackBarAction? action,
  10. Animation<double>? animation,
  11. VoidCallback? onVisible,
  12. String? customMessage,
  13. TextStyle? textStyle,
  14. 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,
});