NomoSnackBar constructor

const NomoSnackBar({
  1. required Widget leading,
  2. required Widget content,
  3. Key? key,
  4. bool indentBySider = false,
  5. Color? backgroundColor,
  6. Color? foregroundColor,
  7. double? height,
  8. double? width,
  9. double? spacing,
  10. EdgeInsets? margin,
  11. double? elevation,
  12. BorderRadius? borderRadius,
  13. BorderSide? border,
  14. 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,
});