Created
September 26, 2019 00:55
-
-
Save lucalves/ac31c75b00e40572d65979eb4870a61a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Widget incluiStack() { | |
return Stack( | |
alignment: Alignment.center, | |
children: <Widget>[ | |
Image.network( | |
'https://i.imgur.com/fzgwYzq.png', | |
width: double.infinity, | |
height: double.infinity, | |
fit: BoxFit.cover, | |
), | |
Positioned( | |
bottom: 30.0, | |
child: RaisedButton( | |
shape: RoundedRectangleBorder( | |
borderRadius: new BorderRadius.circular(5.0), | |
), | |
child: Text('Clique para prosseguir'), | |
onPressed: () {}, | |
), | |
) | |
], | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment