NomoNotification constructor

const NomoNotification({
  1. required String title,
  2. required String subtitle,
  3. required Widget leading,
  4. Key? key,
  5. TextStyle? titleStyle,
  6. TextStyle? subtitleStyle,
  7. EdgeInsetsGeometry? padding,
  8. BorderRadius? borderRadius,
  9. double? spacing,
  10. double? maxWidth,
  11. bool expand = false,
  12. Color? backgroundColor,
  13. Color? foregroundColor,
  14. bool showCloseButton = true,
})

Implementation

const NomoNotification({
  required this.title,
  required this.subtitle,
  required this.leading,
  super.key,
  this.titleStyle,
  this.subtitleStyle,
  this.padding,
  this.borderRadius,
  this.spacing,
  this.maxWidth,
  this.expand = false,
  this.backgroundColor,
  this.foregroundColor,
  this.showCloseButton = true,
});