LinearGaugeLabel class

Constructors

LinearGaugeLabel({String? text, double? value})

Properties

getListOfLabel List<LinearGaugeLabel>
no setter
getPrimaryRulersOffset Map<String, List<Offset>>
no setter
hashCode int
The hash code for this object.
no setterinherited
primaryRulers Map<String, List<Offset>>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
getter/setter pair
value double?
getter/setter pair

Methods

addLabels({required double distanceValueInRangeOfHundred, required double start, required double end}) → void
generateOffSetsForLabel(Size startLabel, Size endLabel, Size size, double end, double primaryRulersHeight, double linearGaugeBoxContainerHeight, double labelTopMargin) → void
The formula is from the below source (!)https://stackoverflow.com/a/3542512/4565953
generateSecondaryRulers(double totalRulers, Canvas canvas, Paint secondaryRulersPaint, double height) → void
The formula is from the below source (!)https://stackoverflow.com/a/3542512/4565953
getLabelSize({required TextStyle textStyle, required double? value}) Size
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