25 lines
660 B
Dart
25 lines
660 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class ScreenLoading extends StatelessWidget {
|
|
const ScreenLoading({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: const <Widget>[
|
|
SizedBox(
|
|
width: 60,
|
|
height: 60,
|
|
child: CircularProgressIndicator(),
|
|
),
|
|
Padding(
|
|
padding: EdgeInsets.only(top: 16),
|
|
child: Text('Awaiting result...'),
|
|
)
|
|
]));
|
|
}
|
|
}
|