RadialHelper class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
actualValueToSweepAngle({required double actualValue, required double maxValue, required double maxDegrees, double minValue = 0})
→ double
-
Convert the
actualValue
to sweepAngle.
-
actualValueToSweepAngleRadian({required double actualValue, required double maxValue, required double minValue, double maxDegrees = 360})
→ double
-
Convert
actualValue
to sweepAngleRadian.
-
degreesToRadians(double degrees)
→ double
-
Convert
degrees
to radians.
-
getDuration({required bool isAnimate, required int userMilliseconds})
→ Duration
-
-
radiansToDegrees(double radians)
→ double
-
Convert
radians
to degrees.
-
sweepAngleRadianToActualValue({required double sweepAngle, required double maxValue, required double minValue, double maxDegrees = 360})
→ double
-
Convert sweepAngleRadian to
actualValue
.
-
sweepAngleToActualValue({required double sweepAngle, required double maxValue, required double maxDegrees, required double minValue})
→ double
-
Convert the
sweepAngle
to ActualValue.