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.
35 lines
971 B
35 lines
971 B
import 'package:flutter/material.dart'; |
|
import 'package:huixiang/view_widget/round_button.dart'; |
|
|
|
class NoDataView extends StatelessWidget { |
|
@override |
|
Widget build(BuildContext context) { |
|
return Container( |
|
margin: EdgeInsets.only(top: 30), |
|
alignment: Alignment.center, |
|
child: Column( |
|
children: [ |
|
Image(image: AssetImage("assets/image/icon_empty.png")), |
|
SizedBox( |
|
height: 35, |
|
), |
|
Text( |
|
"该功能暂未开放,敬请期待", |
|
style: TextStyle(fontSize: 24, color: Color(0xFF353535)), |
|
), |
|
SizedBox( |
|
height: 10, |
|
), |
|
RoundButton( |
|
text: "返回首页", |
|
textColor: Colors.white, |
|
fontSize: 14, |
|
padding: EdgeInsets.only(left: 12, right: 12, top: 2, bottom: 2), |
|
backgroup: Color(0xFF32A060), |
|
radius: 12, |
|
) |
|
], |
|
), |
|
); |
|
} |
|
}
|
|
|