IterativeLayoutOptions class

Annotations

Constructors

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

Properties

decreaseLabelFontRatio double
The ratio by which we decrease font size during the re-layout of labels.
final
hashCode int
The hash code for this object.
no setterinherited
labelTiltRadians double
Tilt Label iteration: If label do not fit horizontally, they are tilted by this value.
final
maxLabelReLayouts int
The maximum number of iterations of label re-layouts, before giving up.
final
multiplyLabelSkip int
On multiple auto layout iterations, every new iteration skips more labels. every iteration, the number of labels skipped is multiplied by multiplyLabelSkip. For example, if on first layout, showEveryNthLabel was 3, and labels still overlap, on the next re-layout the showEveryNthLabel would be 3 * multiplyLabelSkip.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showEveryNthLabel int
The number of labels skipped during the re-layout of labels.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited