Scale<V, SV extends num> constructor

Scale<V, SV extends num>({
  1. String? title,
  2. String? formatter(
    1. V
    )?,
  3. List<V>? ticks,
  4. int? tickCount,
})

Creates a scale.

Implementation

Scale({
  this.title,
  this.formatter,
  this.ticks,
  this.tickCount,
}) : assert(isSingle([ticks, tickCount], allowNone: true));