SmartDialogParams constructor
SmartDialogParams({
- Color? backgroundColor,
- Color? foregroundColor,
- Color? borderColor,
- String? title,
- TextStyle? titleTextStyle,
- Color? closeIconColor,
- TextStyle? descriptionTextStyle,
- TextStyle? positiveButtonTextStyle,
- ButtonStyle? positiveButtonStyle,
- TextStyle? negativeButtonTextStyle,
- ButtonStyle? negativeButtonStyle,
- String? description,
- Widget? customWidget,
- String? positiveButtonText,
- String? negativeButtonText,
- VoidCallback? onPositiveButtonPressed,
- VoidCallback? onNegativeButtonPressed,
- VoidCallback? onOutClick,
- 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});