FlareGiffDialog constructor
const
FlareGiffDialog({
- Key? key,
- required String flarePath,
- required String flareAnimation,
- required Text title,
- VoidCallback? onOkButtonPressed,
- BoxFit flareFit = BoxFit.cover,
- VoidCallback? onCancelButtonPressed,
- Text? description,
- bool onlyOkButton = false,
- bool onlyCancelButton = false,
- Text? buttonOkText,
- Text? buttonCancelText,
- Color? cardBackgroundColor,
- Color buttonOkColor = Colors.green,
- Color buttonCancelColor = Colors.grey,
- double cornerRadius = 8.0,
- double buttonRadius = 8.0,
- 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);