To utilize LineChart , you need to call the constructor underneath: const LineChart( this.data, { this.chartRendererKey, super.key, super.duration = const Duration(milliseconds: 150), super.curve = Curves.linear, }); In LineChart we will use the LineChartData constructor on the data field: LineChartData({ this.lineBarsData = const [], this.betweenBarsData = const [], super.titlesData = const FlTitlesData(), super.extraLinesData = const ExtraLinesData(),…

Read More