DomainAxis constructor

const DomainAxis({
  1. bool showLine = true,
  2. LineStyle lineStyle = const LineStyle(),
  3. LabelStyle labelStyle = const LabelStyle(),
  4. int? gapAxisToLabel = 5,
  5. LabelAnchor labelAnchor = LabelAnchor.centered,
  6. int thickLength = 3,
  7. OrdinalViewport? ordinalViewport,
  8. NumericViewport? numericViewport,
  9. TimeViewport? timeViewport,
  10. LabelFormatterT? labelFormatterT,
  11. int minimumPaddingBetweenLabels = 0,
  12. int labelRotation = 0,
  13. bool noRenderSpec = false,
})

Implementation

const DomainAxis({
  this.showLine = true,
  this.lineStyle = const LineStyle(),
  this.labelStyle = const LabelStyle(),
  this.gapAxisToLabel = 5,
  this.labelAnchor = LabelAnchor.centered,
  this.thickLength = 3,
  this.ordinalViewport,
  this.numericViewport,
  this.timeViewport,
  this.labelFormatterT,
  this.minimumPaddingBetweenLabels = 0,
  this.labelRotation = 0,
  super.noRenderSpec,
});