Created
May 29, 2020 08:11
-
-
Save NITIN-ME/77cf7279f7107754a41b6501e389ada4 to your computer and use it in GitHub Desktop.
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 ExponentialCurve extends StatefulWidget { | |
final List<charts.Series<DataPoint, int>> lst; | |
ExponentialCurve(this.lst); | |
@override | |
_ExponentialCurveState createState() => _ExponentialCurveState(); | |
} | |
class _ExponentialCurveState extends State<ExponentialCurve> { | |
@override | |
Widget build(BuildContext context) { | |
return RepaintBoundary(child: charts.LineChart(this.widget.lst, animate: true,)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment