SmartDialogParams constructor

SmartDialogParams({
  1. Color? backgroundColor,
  2. Color? foregroundColor,
  3. Color? borderColor,
  4. String? title,
  5. TextStyle? titleTextStyle,
  6. Color? closeIconColor,
  7. TextStyle? descriptionTextStyle,
  8. TextStyle? positiveButtonTextStyle,
  9. ButtonStyle? positiveButtonStyle,
  10. TextStyle? negativeButtonTextStyle,
  11. ButtonStyle? negativeButtonStyle,
  12. String? description,
  13. Widget? customWidget,
  14. String? positiveButtonText,
  15. String? negativeButtonText,
  16. VoidCallback? onPositiveButtonPressed,
  17. VoidCallback? onNegativeButtonPressed,
  18. VoidCallback? onOutClick,
  19. VoidCallback? onOnClose,
})

Creates a SmartDialogParams instance.

See SmartDialogManager.showDialog for usage.

Implementation

SmartDialogParams({this.backgroundColor, this.foregroundColor, this.borderColor, this.title, this.titleTextStyle, this.closeIconColor, this.descriptionTextStyle, this.positiveButtonTextStyle, this.positiveButtonStyle, this.negativeButtonTextStyle, this.negativeButtonStyle,  this.description, this.customWidget, this.positiveButtonText, this.negativeButtonText, this.onPositiveButtonPressed, this.onNegativeButtonPressed, this.onOutClick, this.onOnClose});