You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1010 B
39 lines
1010 B
3 years ago
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class LoadingWidget extends StatelessWidget {
|
||
|
const LoadingWidget({Key? key}) : super(key: key);
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Center(
|
||
|
child: Container(
|
||
|
width: double.infinity,
|
||
|
height: double.infinity,
|
||
|
child: Center(
|
||
|
child: SizedBox(
|
||
|
height: 200.0,
|
||
|
width: 300.0,
|
||
|
child: Card(
|
||
|
child: Column(
|
||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||
|
children: <Widget>[
|
||
|
Container(
|
||
|
width: 50.0,
|
||
|
height: 50.0,
|
||
|
// child: SpinKitFadingCube(
|
||
|
// color: Theme.of(context).primaryColor,
|
||
|
// size: 25.0,
|
||
|
// ),
|
||
|
),
|
||
|
Container(
|
||
|
child: Text('数据加载中,请稍后'),
|
||
|
)
|
||
|
],
|
||
|
),
|
||
|
),
|
||
|
)),
|
||
|
));
|
||
|
}
|
||
|
}
|