setNativeUIVisible method

Future<void> setNativeUIVisible(
  1. bool visible
)

Show or hide the native player control UI.

Call setNativeUIVisible(false) when PlayerViewWithControls is used so that the Flutter overlay is the only control surface.

Implementation

Future<void> setNativeUIVisible(bool visible) =>
    _invoke('setNativeUIVisible', {'visible': visible});