setAlphaRenderMode method

Future<void> setAlphaRenderMode(
  1. int mode
)

Alpha渲染模式,支持alpha在右侧、左侧、上侧、下侧,默认值无

Implementation

Future<void> setAlphaRenderMode(int mode) async {
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod('setAlphaRenderMode', wrapWithPlayerId(arg: mode));
}