LineChart constructor

const LineChart({
  1. Key? key,
  2. required LineChartData data,
  3. LineChartStyle style = const LineChartStyle(),
  4. LineChartSettings settings = const LineChartSettings(),
  5. EdgeInsets? padding,
})

Constructs an instance of LineChart.

Implementation

const LineChart({
  super.key,
  required this.data,
  this.style = const LineChartStyle(),
  this.settings = const LineChartSettings(),
  this.padding,
});