import 'package:flutter/material.dart'; class LoadingScreen extends StatelessWidget { const LoadingScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Colors.white, body: Center( child: Column( mainAxisSize: MainAxisSize.min, children: [ const SizedBox(height: 32), CircularProgressIndicator( valueColor: AlwaysStoppedAnimation(Colors.blue.shade700), strokeWidth: 4, ), const SizedBox(height: 24), Text( 'Loading...', style: TextStyle( fontSize: 18, fontWeight: FontWeight.bold, color: Colors.blue.shade700, ), ), const SizedBox(height: 8), Text( 'Please wait while we fetch you...', style: TextStyle( fontSize: 14, color: Colors.grey.shade600, ), ), const SizedBox(height: 32), Padding( padding: const EdgeInsets.symmetric(horizontal: 32), child: LinearProgressIndicator( value: null, backgroundColor: Colors.grey.shade200, valueColor: AlwaysStoppedAnimation(Colors.blue.shade700), ), ), ], ), ), ); } }