media_kit_video/media_kit_video library
Classes
- CupertinoVideoControlsTheme
- Inherited widget which provides CupertinoVideoControlsThemeData to descendant widgets.
- CupertinoVideoControlsThemeData
- Theming related data for CupertinoVideoControls. These values are used to theme the descendant CupertinoVideoControls.
- FullscreenInheritedWidget
- Inherited widget used to identify whether parent Video is in fullscreen or not.
- MaterialCustomButton
- Material design custom button.
- MaterialDesktopCustomButton
- MaterialDesktop design custom button.
- MaterialDesktopFullscreenButton
- MaterialDesktop design fullscreen button.
- MaterialDesktopPlayOrPauseButton
- A material design play/pause button.
- MaterialDesktopPlayOrPauseButtonState
- MaterialDesktopPositionIndicator
- MaterialDesktop design position indicator.
- MaterialDesktopPositionIndicatorState
- MaterialDesktopSeekBar
- Material design seek bar.
- MaterialDesktopSeekBarState
- MaterialDesktopSkipNextButton
- MaterialDesktop design skip next button.
- MaterialDesktopSkipPreviousButton
- MaterialDesktop design skip previous button.
- MaterialDesktopVideoControlsTheme
- Inherited widget which provides MaterialDesktopVideoControlsThemeData to descendant widgets.
- MaterialDesktopVideoControlsThemeData
- Theming related data for MaterialDesktopVideoControls. These values are used to theme the descendant MaterialDesktopVideoControls.
- MaterialDesktopVolumeButton
- MaterialDesktop design volume button & slider.
- MaterialDesktopVolumeButtonState
- MaterialFullscreenButton
- Material design fullscreen button.
- MaterialPlayOrPauseButton
- A material design play/pause button.
- MaterialPlayOrPauseButtonState
- MaterialPositionIndicator
- Material design position indicator.
- MaterialPositionIndicatorState
- MaterialSeekBar
- Material design seek bar.
- MaterialSeekBarState
- MaterialSkipNextButton
- Material design skip next button.
- MaterialSkipPreviousButton
- Material design skip previous button.
- MaterialVideoControlsTheme
- Inherited widget which provides MaterialVideoControlsThemeData to descendant widgets.
- MaterialVideoControlsThemeData
- Theming related data for MaterialVideoControls. These values are used to theme the descendant MaterialVideoControls.
- PlatformVideoController
- PlatformVideoController
- SubtitleView
- {@template subtitle_view} SubtitleView
- SubtitleViewConfiguration
- SubtitleViewConfiguration
- SubtitleViewState
- Video
- Video
- VideoController
- VideoController
- VideoControllerConfiguration
- VideoControllerConfiguration
- VideoState
- VideoStateInheritedWidget
- Inherited widget which provides VideoState associated with the parent Video widget to descendant widgets.
- VideoStateInheritedWidgetContextNotifier
-
This widget is used to notify the
VideoState._contextNotifier
about the most recent BuildContext associated with the Video widget. - VideoStateInheritedWidgetContextNotifierState
- VideoViewParameters
- VideoViewParameters
Constants
- kDefaultCupertinoVideoControlsThemeData → const CupertinoVideoControlsThemeData
- Default CupertinoVideoControlsThemeData.
- kDefaultCupertinoVideoControlsThemeDataFullscreen → const CupertinoVideoControlsThemeData
- Default CupertinoVideoControlsThemeData for fullscreen.
- kDefaultMaterialDesktopVideoControlsThemeData → const MaterialDesktopVideoControlsThemeData
- Default MaterialDesktopVideoControlsThemeData.
- kDefaultMaterialDesktopVideoControlsThemeDataFullscreen → const MaterialDesktopVideoControlsThemeData
- Default MaterialDesktopVideoControlsThemeData for fullscreen.
- kDefaultMaterialVideoControlsThemeData → const MaterialVideoControlsThemeData
- Default MaterialVideoControlsThemeData.
- kDefaultMaterialVideoControlsThemeDataFullscreen → const MaterialVideoControlsThemeData
- Default MaterialVideoControlsThemeData for fullscreen.
- NoVideoControls → const dynamic
- Disables Video controls.
Properties
- lock → Lock
-
For synchronizing enterFullscreen & exitFullscreen operations.
final
Functions
-
AdaptiveVideoControls(
VideoState state) → Widget - Video controls based on the running platform.
-
CupertinoVideoControls(
VideoState state) → Widget - Video controls which use Cupertino design.
-
defaultEnterNativeFullscreen(
) → Future< void> - Makes the native window enter fullscreen.
-
defaultExitNativeFullscreen(
) → Future< void> - Makes the native window exit fullscreen.
-
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.
-
MaterialDesktopVideoControls(
VideoState state) → Widget - Video controls which use Material design.
-
MaterialVideoControls(
VideoState state) → Widget - Video controls which use Material design.
-
toggleFullscreen(
BuildContext context) → Future< void> - Toggles fullscreen for the Video present in the current BuildContext.
Typedefs
- VideoControlsBuilder = Widget Function(VideoState state)