IterativeLayoutOptions constructor

const IterativeLayoutOptions({
  1. int maxLabelReLayouts = 5,
  2. double decreaseLabelFontRatio = 1.0,
  3. int showEveryNthLabel = 1,
  4. int multiplyLabelSkip = 2,
  5. double labelTiltRadians = -math.pi / 4,
})

Implementation

const IterativeLayoutOptions({
  this.maxLabelReLayouts = 5,
  this.decreaseLabelFontRatio = 1.0,
  this.showEveryNthLabel = 1,
  this.multiplyLabelSkip = 2,
  this.labelTiltRadians = -math.pi / 4, // negative rotation is counter-clockwise, generally preferred for labels
});