19 lines
525 B
Dart
19 lines
525 B
Dart
import 'package:didvan/constants/assets.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:rive/rive.dart';
|
|
|
|
class ActionSheetUtils {
|
|
static late final BuildContext context;
|
|
|
|
static Future<void> showLogoLoadingIndicator() async {
|
|
await showDialog(
|
|
context: context,
|
|
builder: (context) => Padding(
|
|
padding: EdgeInsets.symmetric(
|
|
horizontal: MediaQuery.of(context).size.width / 3),
|
|
child: const RiveAnimation.asset(Assets.logoLoadingAnimation),
|
|
),
|
|
);
|
|
}
|
|
}
|