Last active
May 21, 2018 17:04
-
-
Save RafaelBarbosatec/9b63b31610432ddb8f684fc6ff640a0a 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
new Material( | |
borderRadius: new BorderRadius.circular(6.0), | |
elevation: 2.0, | |
child: new Row( | |
crossAxisAlignment: CrossAxisAlignment.start, | |
children: <Widget>[ | |
//Adicionamos aqui FadeInImage que é uma variande do widget Image. Ela nos possibilita carregar image de uma URL | |
new FadeInImage.assetNetwork( | |
placeholder: '', | |
image: _img, | |
fit: BoxFit.cover, | |
width: 95.0, | |
height: 95.0 | |
), | |
new Column( | |
crossAxisAlignment:CrossAxisAlignment.start, | |
children: <Widget>[ | |
new Text(_title), | |
new Text(_date), | |
new Text(_description)], | |
) | |
], | |
), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment