setScreenDirection static method
设置屏幕支持的方位
Implementation
static Future setScreenDirection(DeviceDirectionMask directionMask) async {
await _channel.invokeMethod('changeScreenDirection', [directionMask.index]);
}
设置屏幕支持的方位
static Future setScreenDirection(DeviceDirectionMask directionMask) async {
await _channel.invokeMethod('changeScreenDirection', [directionMask.index]);
}