NomoSnackBar constructor
const
NomoSnackBar({
- required Widget leading,
- required Widget content,
- Key? key,
- bool indentBySider = false,
- Color? backgroundColor,
- Color? foregroundColor,
- double? height,
- double? width,
- double? spacing,
- EdgeInsets? margin,
- double? elevation,
- BorderRadius? borderRadius,
- BorderSide? border,
- SnackBarBehavior behavior = SnackBarBehavior.floating,
Implementation
const NomoSnackBar({
required this.leading,
required this.content,
super.key,
this.indentBySider = false,
this.backgroundColor,
this.foregroundColor,
this.height,
this.width,
this.spacing,
this.margin,
this.elevation,
this.borderRadius,
this.border,
this.behavior = SnackBarBehavior.floating,
});