FlareGiffDialog constructor

const FlareGiffDialog({
  1. Key? key,
  2. required String flarePath,
  3. required String flareAnimation,
  4. required Text title,
  5. VoidCallback? onOkButtonPressed,
  6. BoxFit flareFit = BoxFit.cover,
  7. VoidCallback? onCancelButtonPressed,
  8. Text? description,
  9. bool onlyOkButton = false,
  10. bool onlyCancelButton = false,
  11. Text? buttonOkText,
  12. Text? buttonCancelText,
  13. Color? cardBackgroundColor,
  14. Color buttonOkColor = Colors.green,
  15. Color buttonCancelColor = Colors.grey,
  16. double cornerRadius = 8.0,
  17. double buttonRadius = 8.0,
  18. EntryAnimation entryAnimation = EntryAnimation.normal,
})

Implementation

const FlareGiffDialog({
  Key? key,
  required this.flarePath,
  required this.flareAnimation,
  required this.title,
  this.onOkButtonPressed,
  this.flareFit = BoxFit.cover,
  this.onCancelButtonPressed,
  this.description,
  this.onlyOkButton = false,
  this.onlyCancelButton = false,
  this.buttonOkText,
  this.buttonCancelText,
  this.cardBackgroundColor,
  this.buttonOkColor = Colors.green,
  this.buttonCancelColor = Colors.grey,
  this.cornerRadius = 8.0,
  this.buttonRadius = 8.0,
  this.entryAnimation = EntryAnimation.normal,
}) : super(key: key);