screenRotationChange static method

Future<void> screenRotationChange()

设置屏幕旋转角度,只支持 0,1,2,3,分别对应 0° ,90° ,180°, 270°

Implementation

static Future<void> screenRotationChange() async {
  await _channel.invokeMethod('screenRotationChange');
}