SFAlert constructor

const SFAlert({
  1. Key? key,
  2. double? top,
  3. double? left,
  4. double? right,
  5. double? height,
  6. double? heightSpacing,
  7. required SFAlertStatus status,
  8. required String title,
  9. Widget? titleLeading,
  10. Widget? closeWidget,
  11. TextStyle? titleTextStyle,
  12. required String content,
  13. EdgeInsets? padding,
  14. TextStyle? contentTextStyle,
  15. Color? backgroundColor,
  16. Color? borderColor,
  17. required VoidCallback onTap,
  18. 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,
});