rotation property

double rotation
final

The amount to rotate the widget on the gesture being triggered

defaults to 0, no rotation, an example would be pi / 2 to turn 180 degrees clockwise

Implementation

final double rotation;