forked from lxm_flutter/FlutterUnit
31 lines
848 B
Dart
31 lines
848 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// create by 张风捷特烈 on 2020-03-07
|
|
/// contact me by email 1981462002@qq.com
|
|
/// 说明:
|
|
|
|
class EmptyPage extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return new Container(
|
|
alignment: FractionalOffset.center,
|
|
child: new Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: <Widget>[
|
|
new Icon(Icons.style, color: Colors.grey, size: 80.0),
|
|
new Container(
|
|
padding: new EdgeInsets.only(top: 16.0),
|
|
child: new Text(
|
|
"暂无数据",
|
|
style: new TextStyle(
|
|
color: Colors.grey,
|
|
),
|
|
),
|
|
)
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|