media_kit_video_controls/src/controls/methods/video_state 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.

Functions

contextNotifier(BuildContext context) ValueNotifier<BuildContext?>
Returns the ValueNotifier<BuildContext> associated with the Video present in the current BuildContext.
controller(BuildContext context) VideoController
Returns the VideoController associated with the Video present in the current BuildContext.
onEnterFullscreen(BuildContext context) → (Future<void> Function()?)
Returns the callback which must be invoked when the video enters fullscreen mode.
onExitFullscreen(BuildContext context) → (Future<void> Function()?)
Returns the callback which must be invoked when the video exits fullscreen mode.
state(BuildContext context) VideoState
Returns the VideoState associated with the Video present in the current BuildContext.
videoViewParametersNotifier(BuildContext context) ValueNotifier<VideoViewParameters>
Returns the ValueNotifier<VideoViewParameters> associated with the Video present in the current BuildContext.