diff --git a/lib/main.dart b/lib/main.dart index 289c37d..f6988bd 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -98,7 +98,18 @@ class _MyHomePageState extends State { ), ], ), - body: SingleChildScrollView( + body: + Stack( + children: [ + Center( + child: new Image.asset( + 'images/background.jpg', + width:500, + height: 1000, + fit: BoxFit.fill, + ), + ), + SingleChildScrollView( padding: EdgeInsets.fromLTRB(10, 15, 10, 5), child: new Form( key: this._formKey, @@ -401,6 +412,8 @@ class _MyHomePageState extends State { ), ) ) + ], + ), ); }