Created
November 9, 2019 07:19
-
-
Save felixblaschke/85f8131641d749257098fa741d4845b5 to your computer and use it in GitHub Desktop.
bar_chart_3.dart
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
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