LegendLinear constructor

const LegendLinear({
  1. Key? key,
  2. required dynamic scale,
  3. LegendLinearConfig config = const LegendLinearConfig(),
  4. List<double>? tickValues,
  5. String tickFormat(
    1. double
    )?,
  6. String? title,
  7. TextStyle? titleStyle,
})

Creates a linear legend.

Implementation

const LegendLinear({
  super.key,
  required this.scale,
  this.config = const LegendLinearConfig(),
  this.tickValues,
  this.tickFormat,
  this.title,
  this.titleStyle,
});