showLottieOverlay method
Future<bool>
showLottieOverlay({
- bool? force,
- int? repetitions,
- String? animationUrl,
- VoidCallback? onHide,
Implementation
Future<bool> showLottieOverlay(
{bool? force,
int? repetitions,
String? animationUrl,
VoidCallback? onHide}) async {
if (!_showLottieOverlay(
animationUrl: animationUrl,
repetitions: repetitions,
onHide: onHide,
force: force ?? false)) {
return false;
}
return _completer.future;
}