MotionController class
Properties
-
damping
↔ double
-
The speed at which the widget returns to its initial position (only for Gyroscope input type).
getter/setter pair
-
dampingFactor
→ double
-
The actual damping factor used by the widget.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
maxAngle
↔ double
-
The maximum angle at which the widget will be allowed to turn in every axis, in radians.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
x
↔ double
-
The current tilt state for each axises.
getter/setter pair
-
y
↔ double
-
The current tilt state for each axises.
getter/setter pair
Methods
-
normalize()
→ void
-
Clamps the values to the maximum angle allowed.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited