背景设置
decoration: new BoxDecoration(color: Color(0xffF5F5F5)),给当前页,某个盒子设置背景颜色都可以 Widget build(BuildContext context) { return new Scaffold( appBar: new AppBar( title: new Text('提交订单'), ), body: Container( decoration: new BoxDecoration(color: Color(0xffF5F5F5)), child: Column( children: <Widget>[], ), )); }class NoteIntegral extends StatelessWidget { const NoteIntegral({Key key}) : super(key: key); @override Widget build(BuildContext context) { return Container( decoration: new BoxDecoration(color:Color(0xffFFFFFF)), child: child, ); }}