Skip to content

Instantly share code, notes, and snippets.

@trey-rosius
Created January 24, 2019 06:58
Show Gist options
  • Select an option

  • Save trey-rosius/8ec1a47e7f8a5c8b4cdf350f57fb3d83 to your computer and use it in GitHub Desktop.

Select an option

Save trey-rosius/8ec1a47e7f8a5c8b4cdf350f57fb3d83 to your computer and use it in GitHub Desktop.
Container(
padding: EdgeInsets.only(top: 10.0, bottom: 10.0),
width: size.width / 1.1,
child: Row(
children: <Widget>[
Expanded(
child: Text(
'Ratings',
style: TextStyle(color: Colors.white),
)),
Padding(
padding: const EdgeInsets.only(right: 30.0),
child: Row(
children: <Widget>[
Icon(
Icons.star,
color: Theme.of(context).accentColor,
),
Icon(
Icons.star,
color: Theme.of(context).accentColor,
),
Icon(
Icons.star,
color: Theme.of(context).accentColor,
),
Icon(
Icons.star,
color: Theme.of(context).accentColor,
),
Icon(
Icons.star,
color: Theme.of(context).accentColor,
),
],
),
),
Padding(
padding: const EdgeInsets.only(right: 50.0),
child: Text(
"(55)",
style: TextStyle(color: Colors.white),
),
)
],
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment