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, ) ], ), ); } }