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