SimpleSnackBar constructor
const
SimpleSnackBar({
- String? message,
- String? action,
- VoidCallback? onAction,
- VoidCallback? onDismiss,
- Color? actionColor,
- Color? messageColor,
- Duration timeout = const Duration(seconds: 6),
- double? progress,
- bool showProgress = true,
- bool? withBottomBar = false,
- bool dismissible = false,
- bool autoDismissible = true,
- bool autoDismiss = false,
- 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);