Skip to content

Instantly share code, notes, and snippets.

@felixblaschke
Created November 9, 2019 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felixblaschke/85f8131641d749257098fa741d4845b5 to your computer and use it in GitHub Desktop.
Save felixblaschke/85f8131641d749257098fa741d4845b5 to your computer and use it in GitHub Desktop.
bar_chart_3.dart
class BarChartApplication extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.all(20.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Bar(0.3, "2013"),
Bar(0.5, "2014"),
Bar(0.7, "2015"),
Bar(0.8, "2016"),
Bar(0.9, "2017"),
Bar(0.98, "2018"),
Bar(0.84, "2019"),
],
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment