forked from eatvio/eatvio_app
22 lines
435 B
Dart
22 lines
435 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:lottie/lottie.dart';
|
|
|
|
class Loader extends StatelessWidget {
|
|
const Loader({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: SizedBox(
|
|
height: 42,
|
|
width: 42,
|
|
child: Lottie.asset(
|
|
'assets/lottie_animations/loading.json',
|
|
width: 42,
|
|
height: 42,
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|