LineChart constructor

const LineChart({
  1. Key? key,
  2. required List<ChartSampleData> dataSource,
})

Creates the line chart with custom data

Implementation

const LineChart({super.key, required this.dataSource});