InfoDialog constructor
InfoDialog({
- Widget? child,
- String? message,
- FutureOr onCancel()?,
- String? onCancelText,
- Color? onCancelTextColor,
- FutureOr onApply()?,
- String? onApplyText,
- Color? onApplyTextColor,
- bool showCancelButton = true,
- bool showApplyButton = true,
- double borderRadius = 10.0,
- Color backgroundColor = Colors.white,
- Color actionLineColor = const Color(0xFFF0F2F4),
- EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(vertical: 25),
Implementation
InfoDialog({
this.child,
this.message,
this.onCancel,
this.onCancelText,
this.onCancelTextColor,
this.onApply,
this.onApplyText,
this.onApplyTextColor,
this.showCancelButton = true,
this.showApplyButton = true,
this.borderRadius = 10.0,
this.backgroundColor = Colors.white,
this.actionLineColor = const Color(0xFFF0F2F4),
this.contentPadding = const EdgeInsets.symmetric(vertical: 25),
});