AlertInfo constructor

AlertInfo({
  1. required String description,
  2. required ({String title, Color titleColor}) defaultActionInfo,
  3. required VoidCallback defaultCallback,
  4. String? imageUrl,
  5. ({String title, Color titleColor})? cancelActionInfo,
  6. VoidCallback? cancelCallback,
})

Implementation

AlertInfo(
    {required this.description,
    required this.defaultActionInfo,
    required this.defaultCallback,
    this.imageUrl,
    this.cancelActionInfo,
    this.cancelCallback});