Advertisement
FlyFar

lib/widgets/loading.dart

Jul 25th, 2023
1,007
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.86 KB | Cybersecurity | 0 0
  1. import 'package:client/widgets/coolText.dart';
  2. import 'package:flutter/material.dart';
  3.  
  4. class Loading extends StatelessWidget {
  5.   const Loading({Key? key}) : super(key: key);
  6.  
  7.   @override
  8.   Widget build(BuildContext context) {
  9.     return Scaffold(
  10.       body: Center(
  11.         child: Column(
  12.           children: [
  13.             const Spacer(),
  14.             const Expanded(
  15.               flex: 1,
  16.               child: Image(
  17.                 image: AssetImage("lib/assets/hecker-removebg-preview.png"),
  18.               ),
  19.             ),
  20.             Row(
  21.               mainAxisAlignment: MainAxisAlignment.center,
  22.               children: const [
  23.                 coolText(text: "Loading  ", fontSize: 30),
  24.                 CircularProgressIndicator(),
  25.               ],
  26.             ),
  27.             const Spacer(),
  28.           ],
  29.         ),
  30.       ),
  31.     );
  32.   }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement