rotate90Degrees method
Rotate the video by 90 degrees in the direction
provided
Implementation
void rotate90Degrees([RotateDirection direction = RotateDirection.right]) {
switch (direction) {
case RotateDirection.left:
_rotation += 90;
break;
case RotateDirection.right:
_rotation -= 90;
break;
}
notifyListeners();
}