Range constructor

Range({
  1. String? label,
  2. required double lowerLimit,
  3. required double upperLimit,
  4. required Color backgroundColor,
  5. TextStyle? legendTextStyle,
})

Implementation

Range(
    {this.label,
    required this.lowerLimit,
    required this.upperLimit,
    required this.backgroundColor,
    this.legendTextStyle})
    : assert(lowerLimit <= upperLimit,
          'lowerLimit must be less than or equal to upperLimit');