2022-08-27 17:33:28 +00:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class ScreenLoading extends StatelessWidget {
|
|
|
|
const ScreenLoading({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2022-08-31 14:22:47 +00:00
|
|
|
return Center(
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: const <Widget>[
|
2022-08-28 21:55:44 +00:00
|
|
|
SizedBox(
|
|
|
|
width: 60,
|
|
|
|
height: 60,
|
|
|
|
child: CircularProgressIndicator(),
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(top: 16),
|
|
|
|
child: Text('Awaiting result...'),
|
|
|
|
)
|
2022-08-31 14:22:47 +00:00
|
|
|
]));
|
2022-08-27 17:33:28 +00:00
|
|
|
}
|
|
|
|
}
|