Professional Documents
Culture Documents
12.1 L04-S12-beautify-the-ui-part-2 PDF
12.1 L04-S12-beautify-the-ui-part-2 PDF
...
new Padding(
padding: const EdgeInsets.all(24.0),
child: new CatDetailBody(widget.cat),
),
...
Column of Widgets
○ Create a new locationInfo Widget that will house a small icon and
the Cats location information
var locationInfo = new Row(
children: [
new Icon(
Icons.place,
color: Colors.white,
size: 16.0,
),
new Padding(
padding: const EdgeInsets.only(left: 8.0),
child: new Text(
cat.location,
style: textTheme.subhead.copyWith(color: Colors.white),
),
),
],
);
Circle Badge Widget Function