DateTimeAxis constructor Null safety

DateTimeAxis(
  1. {String? name,
  2. bool? isVisible,
  3. AxisTitle? title,
  4. AxisLine? axisLine,
  5. ChartRangePadding? rangePadding,
  6. AxisLabelIntersectAction? labelIntersectAction,
  7. ChartDataLabelPosition? labelPosition,
  8. TickPosition? tickPosition,
  9. EdgeLabelPlacement? edgeLabelPlacement,
  10. double? zoomFactor,
  11. double? zoomPosition,
  12. bool? enableAutoIntervalOnZooming,
  13. int? labelRotation,
  14. bool? isInversed,
  15. bool? opposedPosition,
  16. int? minorTicksPerInterval,
  17. int? maximumLabels,
  18. double? plotOffset,
  19. MajorTickLines? majorTickLines,
  20. MinorTickLines? minorTickLines,
  21. MajorGridLines? majorGridLines,
  22. MinorGridLines? minorGridLines,
  23. TextStyle? labelStyle,
  24. DateFormat? dateFormat,
  25. DateTimeIntervalType intervalType = DateTimeIntervalType.auto,
  26. InteractiveTooltip? interactiveTooltip,
  27. String? labelFormat,
  28. DateTime? minimum,
  29. DateTime? maximum,
  30. LabelAlignment? labelAlignment,
  31. double? interval,
  32. DateTime? visibleMinimum,
  33. DateTime? visibleMaximum,
  34. dynamic crossesAt,
  35. String? associatedAxisName,
  36. bool? placeLabelsNearAxisLine,
  37. List<PlotBand>? plotBands,
  38. RangeController? rangeController,
  39. int? desiredIntervals,
  40. double? maximumLabelWidth,
  41. double? labelsExtent,
  42. DateTimeIntervalType autoScrollingDeltaType = DateTimeIntervalType.auto,
  43. int? autoScrollingDelta,
  44. double? borderWidth,
  45. Color? borderColor,
  46. AxisBorderType? axisBorderType,
  47. MultiLevelLabelStyle? multiLevelLabelStyle,
  48. MultiLevelLabelFormatterCallback? multiLevelLabelFormatter,
  49. List<DateTimeMultiLevelLabel>? multiLevelLabels,
  50. AutoScrollingMode? autoScrollingMode,
  51. ChartLabelFormatterCallback? axisLabelFormatter}
)

Creating an argument constructor of DateTimeAxis class.

Implementation

DateTimeAxis(
    {String? name,
    bool? isVisible,
    AxisTitle? title,
    AxisLine? axisLine,
    ChartRangePadding? rangePadding,
    AxisLabelIntersectAction? labelIntersectAction,
    ChartDataLabelPosition? labelPosition,
    TickPosition? tickPosition,
    EdgeLabelPlacement? edgeLabelPlacement,
    double? zoomFactor,
    double? zoomPosition,
    bool? enableAutoIntervalOnZooming,
    int? labelRotation,
    bool? isInversed,
    bool? opposedPosition,
    int? minorTicksPerInterval,
    int? maximumLabels,
    double? plotOffset,
    MajorTickLines? majorTickLines,
    MinorTickLines? minorTickLines,
    MajorGridLines? majorGridLines,
    MinorGridLines? minorGridLines,
    TextStyle? labelStyle,
    this.dateFormat,
    this.intervalType = DateTimeIntervalType.auto,
    InteractiveTooltip? interactiveTooltip,
    this.labelFormat,
    this.minimum,
    this.maximum,
    LabelAlignment? labelAlignment,
    double? interval,
    this.visibleMinimum,
    this.visibleMaximum,
    dynamic crossesAt,
    String? associatedAxisName,
    bool? placeLabelsNearAxisLine,
    List<PlotBand>? plotBands,
    RangeController? rangeController,
    int? desiredIntervals,
    double? maximumLabelWidth,
    double? labelsExtent,
    this.autoScrollingDeltaType = DateTimeIntervalType.auto,
    int? autoScrollingDelta,
    double? borderWidth,
    Color? borderColor,
    AxisBorderType? axisBorderType,
    MultiLevelLabelStyle? multiLevelLabelStyle,
    MultiLevelLabelFormatterCallback? multiLevelLabelFormatter,
    List<DateTimeMultiLevelLabel>? multiLevelLabels,
    AutoScrollingMode? autoScrollingMode,
    ChartLabelFormatterCallback? axisLabelFormatter})
    : super(
          name: name,
          isVisible: isVisible,
          isInversed: isInversed,
          opposedPosition: opposedPosition,
          rangePadding: rangePadding,
          plotOffset: plotOffset,
          labelRotation: labelRotation,
          labelIntersectAction: labelIntersectAction,
          minorTicksPerInterval: minorTicksPerInterval,
          maximumLabels: maximumLabels,
          labelStyle: labelStyle,
          title: title,
          labelAlignment: labelAlignment,
          axisLine: axisLine,
          majorTickLines: majorTickLines,
          minorTickLines: minorTickLines,
          majorGridLines: majorGridLines,
          minorGridLines: minorGridLines,
          edgeLabelPlacement: edgeLabelPlacement,
          labelPosition: labelPosition,
          tickPosition: tickPosition,
          zoomFactor: zoomFactor,
          zoomPosition: zoomPosition,
          enableAutoIntervalOnZooming: enableAutoIntervalOnZooming,
          interactiveTooltip: interactiveTooltip,
          interval: interval,
          crossesAt: crossesAt,
          associatedAxisName: associatedAxisName,
          placeLabelsNearAxisLine: placeLabelsNearAxisLine,
          plotBands: plotBands,
          rangeController: rangeController,
          desiredIntervals: desiredIntervals,
          maximumLabelWidth: maximumLabelWidth,
          labelsExtent: labelsExtent,
          autoScrollingDelta: autoScrollingDelta,
          axisBorderType: axisBorderType,
          borderColor: borderColor,
          borderWidth: borderWidth,
          multiLevelLabelStyle: multiLevelLabelStyle,
          multiLevelLabelFormatter: multiLevelLabelFormatter,
          multiLevelLabels: multiLevelLabels,
          autoScrollingMode: autoScrollingMode,
          axisLabelFormatter: axisLabelFormatter);