SFAlertDialog constructor

const SFAlertDialog({
  1. Key? key,
  2. double? top,
  3. double? left,
  4. double? right,
  5. double? height,
  6. double? titleAndContentsSpacing,
  7. required String title,
  8. Widget? titleLeading,
  9. Widget? closeWidget,
  10. TextStyle? titleTextStyle,
  11. required String content,
  12. EdgeInsets? padding,
  13. TextStyle? contentTextStyle,
  14. Color? backgroundColor,
  15. Color? borderColor,
  16. BorderRadius? borderRadius,
  17. required VoidCallback remove,
  18. String? acceptButtonText,
  19. String? cancleButtonText,
  20. VoidCallback? onAccept,
  21. VoidCallback? onCancle,
})

Implementation

const SFAlertDialog({
  Key? key,
  this.top,
  this.left,
  this.right,
  this.height,
  this.titleAndContentsSpacing,
  required this.title,
  this.titleLeading,
  this.closeWidget,
  this.titleTextStyle,
  required this.content,
  this.padding,
  this.contentTextStyle,
  this.backgroundColor,
  this.borderColor,
  this.borderRadius,
  required this.remove,
  this.acceptButtonText,
  this.cancleButtonText,
  this.onAccept,
  this.onCancle,
}) : super(key: key);