Flutter 在颤振中添加背景
我正试图在Flitter的小部件中添加背景,但它不起作用:Flutter 在颤振中添加背景,flutter,dart,Flutter,Dart,我正试图在Flitter的小部件中添加背景,但它不起作用: home: Scaffold( appBar: CustomAppBar("Form"), body: Container( decoration: BoxDecoration( image: DecorationImage( image: AssetImage("assets/img/blu
home: Scaffold(
appBar: CustomAppBar("Form"),
body: Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage("assets/img/bluetransparent.png", fit: BoxFit.cover)),
child: Form(
key: _formKey,
child: SingleChildScrollView(
child: Column(...............................
请帮忙。
谢谢,只需关闭parentesis即可解决此问题:
image: AssetImage("assets/img/bluetransparent.png"), fit: BoxFit.cover)),