import 'package:flutter/material.dart'; class LoadingScreen1 extends StatefulWidget { const LoadingScreen1({Key? key}) : super(key: key); @override State createState() => _LoadingScreen1State(); } class _LoadingScreen1State extends State { @override Widget build(BuildContext context) { Size screenSize=MediaQuery.of(context).size; return Scaffold( body: SafeArea( child: Padding( padding: const EdgeInsets.symmetric(horizontal: 15.0,vertical: 10), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ SizedBox( height: screenSize.height*.3, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.1), backgroundColor: Colors.grey.withOpacity(.1), )), SizedBox(height: 20,), Row( mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ ClipRRect( borderRadius: BorderRadius.circular(50), child: SizedBox(height: 50,width: 50, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.01), backgroundColor: Colors.grey.withOpacity(.2),), )), ClipRRect( borderRadius: BorderRadius.circular(50), child: SizedBox(height: 50,width: 50, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.1), backgroundColor: Colors.grey.withOpacity(.2),), )), ClipRRect( borderRadius: BorderRadius.circular(50), child: SizedBox(height: 50,width: 50, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.1), backgroundColor: Colors.grey.withOpacity(.2),), )), ClipRRect( borderRadius: BorderRadius.circular(50), child: SizedBox(height: 50,width: 50, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.1), backgroundColor: Colors.grey.withOpacity(.2),), )), ClipRRect( borderRadius: BorderRadius.circular(50), child: SizedBox(height: 50,width: 50, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.1), backgroundColor: Colors.grey.withOpacity(.2),), )), ], ), SizedBox(height: 20,), SizedBox( height: screenSize.height*.25, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.1), backgroundColor: Colors.grey.withOpacity(.2), )), SizedBox(height: 15,), SizedBox( height: screenSize.height*.03, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.1), backgroundColor: Colors.grey.withOpacity(.2), )), SizedBox(height: 15,), SizedBox( height: screenSize.height*.03, width: screenSize.width*.8, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.1), backgroundColor: Colors.grey.withOpacity(.2), )), SizedBox(height: 15,), SizedBox( height: screenSize.height*.03, width: screenSize.width*.6, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.1), backgroundColor: Colors.grey.withOpacity(.2), )), SizedBox(height: 15,), SizedBox( height: screenSize.height*.03, child: LinearProgressIndicator( color: Colors.grey.withOpacity(.1), backgroundColor: Colors.grey.withOpacity(.2), )), ], ), ), ), ); } }