Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
return new Container(
margin: const EdgeInsets.symmetric(vertical: 6.0, horizontal: 8.0),
new Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
new Container(
margin: const EdgeInsets.only(right: 16.0),
child: new ConstrainedBox(
constraints: const BoxConstraints(
maxHeight: 100.0, maxWidth: 100.0),
child: new
item.thumbnailUrl, width: 100.0, fit: BoxFit.scaleDown)
new Expanded(
child: new Text(,
new Text(item.yearPublished),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment