AlertInfo constructor
AlertInfo({
- required String description,
- required ({String title, Color titleColor}) defaultActionInfo,
- required VoidCallback defaultCallback,
- String? imageUrl,
- ({String title, Color titleColor})? cancelActionInfo,
- VoidCallback? cancelCallback,
Implementation
AlertInfo(
{required this.description,
required this.defaultActionInfo,
required this.defaultCallback,
this.imageUrl,
this.cancelActionInfo,
this.cancelCallback});