SFAlert constructor
const
SFAlert({
- Key? key,
- double? top,
- double? left,
- double? right,
- double? height,
- double? heightSpacing,
- required SFAlertStatus status,
- required String title,
- Widget? titleLeading,
- Widget? closeWidget,
- TextStyle? titleTextStyle,
- required String content,
- EdgeInsets? padding,
- TextStyle? contentTextStyle,
- Color? backgroundColor,
- Color? borderColor,
- required VoidCallback onTap,
- BorderRadius? borderRadius,
Implementation
const SFAlert({
super.key,
this.top,
this.left,
this.right,
this.height,
this.heightSpacing,
required this.status,
required this.title,
this.titleLeading,
this.closeWidget,
this.titleTextStyle,
required this.content,
this.padding,
this.contentTextStyle,
this.backgroundColor,
this.borderColor,
required this.onTap,
this.borderRadius,
});