media_kit_video_controls/src/controls/methods/fullscreen library

This file is a part of media_kit (https://github.com/media-kit/media-kit).

Copyright © 2021 & onwards, Hitesh Kumar Saini saini123hitesh@gmail.com. All rights reserved. Use of this source code is governed by MIT license that can be found in the LICENSE file.

Properties

lock → Lock
For synchronizing enterFullscreen & exitFullscreen operations.
final

Functions

enterFullscreen(BuildContext context) Future<void>
Makes the Video present in the current BuildContext enter fullscreen.
exitFullscreen(BuildContext context) Future<void>
Makes the Video present in the current BuildContext exit fullscreen.
isFullscreen(BuildContext context) bool
Whether a Video present in the current BuildContext is in fullscreen or not.
toggleFullscreen(BuildContext context) Future<void>
Toggles fullscreen for the Video present in the current BuildContext.