You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
668 B
Dart
25 lines
668 B
Dart
import 'package:flutter/material.dart';
|
|
class LoadingWidget extends StatelessWidget {
|
|
const LoadingWidget({Key key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Padding(
|
|
padding: EdgeInsets.all(10.0),
|
|
child: Row(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: <Widget>[
|
|
CircularProgressIndicator(
|
|
strokeWidth: 1.0,
|
|
),Text(
|
|
'加载中...',
|
|
style: TextStyle(fontSize: 16.0),
|
|
)
|
|
],
|
|
),
|
|
),
|
|
);;
|
|
}
|
|
} |