MotionController constructor

MotionController({
  1. double damping = 0.2,
  2. double maxAngle = defaultMaxAngle,
})

A controller that holds the Motion widget's X and Y angles.

Implementation

MotionController({this.damping = 0.2, this.maxAngle = defaultMaxAngle});