ScaleZoomableInt class

Inheritance

Constructors

ScaleZoomableInt(int minValue, int maxValue, int zoom)

Properties

format String
The data format of this scale.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
maxValue int
finalinherited
minValue int
finalinherited
range int
latefinalinherited
rangeZoomed int
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zero int
The zero value for this scale format.
final
zoom int
finalinherited

Methods

denormalize(int normalizedValue) int
Denormalize normalizedValue to values of this scale (in the range minValue to maxValue).
override
denormalizeList(List<int> normalizedValues) List<int>
Denormalizes values using denormalize.
inherited
normalize(int value) int
Normalize value to this scale (in the range 0..1)
override
normalizeList(List<int> values) List<int>
Normalizes values using normalize.
inherited
normalizeNum(num value) int
Normalize value to this scale (in the range 0..1)
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool withIndent = false}) String
Converts to an encoded JSON.
inherited
toJsonMap() Map<String, dynamic>
Converts this Scale to a JSON Map.
inherited
toN(num value) int
Converts value to N.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
Returns true if other is equals to this.
inherited