manager-app/lib/Components/loading.dart
2023-04-01 16:52:13 +02:00

22 lines
566 B
Dart

import 'package:flare_flutter/flare_actor.dart';
import 'package:flutter/material.dart';
class Loading extends StatelessWidget {
Loading({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
Size size = MediaQuery.of(context).size;
return Container(
width: size.width,
height: size.height,
color: Colors.transparent,
child: FlareActor(
'assets/animations/MDLF_animation.flr',
alignment: Alignment.center,
fit: BoxFit.scaleDown,
animation: 'Rotate',
),
);
}
}