SnackbarStateConfig constructor
const
SnackbarStateConfig({
- Color? backgroundColor,
- Color? textColor,
- IconData? icon,
- Color? iconColor,
- double iconSize = 24.0,
- double fontSize = 14.0,
- FontWeight? fontWeight,
- BorderRadius? borderRadius,
- double elevation = 6.0,
- Color? shadowColor,
- bool showIcon = true,
- Widget? customContent,
- SnackBarAction? action,
Implementation
const SnackbarStateConfig({
this.backgroundColor,
this.textColor,
this.icon,
this.iconColor,
this.iconSize = 24.0,
this.fontSize = 14.0,
this.fontWeight,
this.borderRadius,
this.elevation = 6.0,
this.shadowColor,
this.showIcon = true,
this.customContent,
this.action,
});