SyntaxFix
Write A Post
Hire A Developer
Questions
Inside your Stack, you should wrap your background widget in a Positioned.fill.
background
return new Stack( children: <Widget>[ new Positioned.fill( child: background, ), foreground, ], );