SimpleSnackBar constructor

const SimpleSnackBar({
  1. String? message,
  2. String? action,
  3. VoidCallback? onAction,
  4. VoidCallback? onDismiss,
  5. Color? actionColor,
  6. Color? messageColor,
  7. Duration timeout = const Duration(seconds: 6),
  8. double? progress,
  9. bool showProgress = true,
  10. bool? withBottomBar = false,
  11. bool dismissible = false,
  12. bool autoDismissible = true,
  13. bool autoDismiss = false,
  14. Key? key,
})

Implementation

const SimpleSnackBar({
  this.message,
  this.action,
  this.onAction,
  this.onDismiss,
  this.actionColor,
  this.messageColor,
  this.timeout = const Duration(seconds: 6),
  this.progress,
  this.showProgress = true,
  this.withBottomBar = false,
  this.dismissible = false,
  this.autoDismissible = true,
  this.autoDismiss = false,
  Key? key,
}) : super(key: key);