import 'package:flutter/material.dart'; import 'package:lottie/lottie.dart'; class SplashScreen extends StatelessWidget { const SplashScreen({super.key}); @override Widget build(BuildContext context) { final size = MediaQuery.of(context).size; return Scaffold( body: SizedBox( width: size.width, height: size.height, child: Center( child: Lottie.asset( 'assets/wave.json', width: size.width, height: size.height, fit: BoxFit.fitWidth, ), ), ), ); } }