From 78695eea90553549021d68e78ee8059ba670902b Mon Sep 17 00:00:00 2001 From: Thiago Rocha Date: Mon, 2 Dec 2019 10:20:49 -0300 Subject: [PATCH] =?UTF-8?q?:lipstick:Inclui=20imagem=20de=20fundo=20no=20f?= =?UTF-8?q?ormul=C3=A1rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main.dart | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 { ), ) ) + ], + ), ); }