NomoNotification constructor
const
NomoNotification({
- required String title,
- required String subtitle,
- required Widget leading,
- Key? key,
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
- EdgeInsetsGeometry? padding,
- BorderRadius? borderRadius,
- double? spacing,
- double? maxWidth,
- bool expand = false,
- Color? backgroundColor,
- Color? foregroundColor,
- 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,
});