FixedAxis<T extends num> constructor

FixedAxis<T extends num>(
  1. List<T> values, {
  2. GridAxisFormat? format,
  3. TextStyle? textStyle,
  4. double? margin,
  5. double? marginStart,
  6. double? marginEnd,
  7. PdfColor? color,
  8. double? width,
  9. bool? divisions,
  10. double? divisionsWidth,
  11. PdfColor? divisionsColor,
  12. bool? divisionsDashed,
  13. bool? ticks,
  14. bool? axisTick,
  15. double angle = 0,
  16. GridAxisBuildLabel? buildLabel,
})

Implementation

FixedAxis(
  this.values, {
  GridAxisFormat? format,
  TextStyle? textStyle,
  double? margin,
  double? marginStart,
  double? marginEnd,
  PdfColor? color,
  double? width,
  bool? divisions,
  double? divisionsWidth,
  PdfColor? divisionsColor,
  bool? divisionsDashed,
  bool? ticks,
  bool? axisTick,
  double angle = 0,
  GridAxisBuildLabel? buildLabel,
})  : assert(_isSortedAscending(values)),
      super(
        format: format,
        textStyle: textStyle,
        margin: margin,
        marginStart: marginStart,
        marginEnd: marginEnd,
        color: color,
        width: width,
        divisions: divisions,
        divisionsWidth: divisionsWidth,
        divisionsColor: divisionsColor,
        divisionsDashed: divisionsDashed,
        ticks: ticks,
        axisTick: axisTick,
        angle: angle,
        buildLabel: buildLabel,
      );