NumericAxis constructor Null safety

NumericAxis(
  1. {String? name,
  2. bool? isVisible,
  3. bool? anchorRangeToVisiblePoints,
  4. AxisTitle? title,
  5. AxisLine? axisLine,
  6. ChartRangePadding? rangePadding,
  7. AxisLabelIntersectAction? labelIntersectAction,
  8. int? labelRotation,
  9. String? labelFormat,
  10. NumberFormat? numberFormat,
  11. LabelAlignment? labelAlignment,
  12. ChartDataLabelPosition? labelPosition,
  13. TickPosition? tickPosition,
  14. bool? isInversed,
  15. bool? opposedPosition,
  16. int? minorTicksPerInterval,
  17. int? maximumLabels,
  18. MajorTickLines? majorTickLines,
  19. MinorTickLines? minorTickLines,
  20. MajorGridLines? majorGridLines,
  21. MinorGridLines? minorGridLines,
  22. EdgeLabelPlacement? edgeLabelPlacement,
  23. TextStyle? labelStyle,
  24. double? plotOffset,
  25. double? zoomFactor,
  26. double? zoomPosition,
  27. bool? enableAutoIntervalOnZooming,
  28. InteractiveTooltip? interactiveTooltip,
  29. double? minimum,
  30. double? maximum,
  31. double? interval,
  32. double? visibleMinimum,
  33. double? visibleMaximum,
  34. dynamic crossesAt,
  35. String? associatedAxisName,
  36. bool? placeLabelsNearAxisLine,
  37. List<PlotBand>? plotBands,
  38. int decimalPlaces = 3,
  39. int? desiredIntervals,
  40. RangeController? rangeController,
  41. double? maximumLabelWidth,
  42. double? labelsExtent,
  43. int? autoScrollingDelta,
  44. AutoScrollingMode? autoScrollingMode}
)

Creating an argument constructor of NumericAxis class.

Implementation

NumericAxis({
  String? name,
  bool? isVisible,
  bool? anchorRangeToVisiblePoints,
  AxisTitle? title,
  AxisLine? axisLine,
  ChartRangePadding? rangePadding,
  AxisLabelIntersectAction? labelIntersectAction,
  int? labelRotation,
  this.labelFormat,
  this.numberFormat,
  LabelAlignment? labelAlignment,
  ChartDataLabelPosition? labelPosition,
  TickPosition? tickPosition,
  bool? isInversed,
  bool? opposedPosition,
  int? minorTicksPerInterval,
  int? maximumLabels,
  MajorTickLines? majorTickLines,
  MinorTickLines? minorTickLines,
  MajorGridLines? majorGridLines,
  MinorGridLines? minorGridLines,
  EdgeLabelPlacement? edgeLabelPlacement,
  TextStyle? labelStyle,
  double? plotOffset,
  double? zoomFactor,
  double? zoomPosition,
  bool? enableAutoIntervalOnZooming,
  InteractiveTooltip? interactiveTooltip,
  this.minimum,
  this.maximum,
  double? interval,
  this.visibleMinimum,
  this.visibleMaximum,
  dynamic crossesAt,
  String? associatedAxisName,
  bool? placeLabelsNearAxisLine,
  List<PlotBand>? plotBands,
  this.decimalPlaces = 3,
  int? desiredIntervals,
  RangeController? rangeController,
  double? maximumLabelWidth,
  double? labelsExtent,
  int? autoScrollingDelta,
  AutoScrollingMode? autoScrollingMode,
}) : super(
          name: name,
          isVisible: isVisible,
          anchorRangeToVisiblePoints: anchorRangeToVisiblePoints,
          isInversed: isInversed,
          opposedPosition: opposedPosition,
          rangePadding: rangePadding,
          labelRotation: labelRotation,
          labelIntersectAction: labelIntersectAction,
          labelPosition: labelPosition,
          tickPosition: tickPosition,
          minorTicksPerInterval: minorTicksPerInterval,
          maximumLabels: maximumLabels,
          labelStyle: labelStyle,
          title: title,
          labelAlignment: labelAlignment,
          axisLine: axisLine,
          edgeLabelPlacement: edgeLabelPlacement,
          majorTickLines: majorTickLines,
          minorTickLines: minorTickLines,
          majorGridLines: majorGridLines,
          minorGridLines: minorGridLines,
          plotOffset: plotOffset,
          enableAutoIntervalOnZooming: enableAutoIntervalOnZooming,
          zoomFactor: zoomFactor,
          zoomPosition: zoomPosition,
          interactiveTooltip: interactiveTooltip,
          interval: interval,
          crossesAt: crossesAt,
          associatedAxisName: associatedAxisName,
          placeLabelsNearAxisLine: placeLabelsNearAxisLine,
          plotBands: plotBands,
          desiredIntervals: desiredIntervals,
          rangeController: rangeController,
          maximumLabelWidth: maximumLabelWidth,
          labelsExtent: labelsExtent,
          autoScrollingDelta: autoScrollingDelta,
          autoScrollingMode: autoScrollingMode);