Skip to content

Commit

Permalink
💄Inclui imagem de fundo no formulário
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagorocha503 committed Dec 2, 2019
1 parent e08553d commit 78695ee
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,18 @@ class _MyHomePageState extends State<MyHomePage> {
),
],
),
body: SingleChildScrollView(
body:
Stack(
children: <Widget>[
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,
Expand Down Expand Up @@ -401,6 +412,8 @@ class _MyHomePageState extends State<MyHomePage> {
),
)
)
],
),
);
}

Expand Down

0 comments on commit 78695ee

Please sign in to comment.