flutter_video_view library
Classes
- Caption
- A representation of a single caption.
- ClosedCaption
- Widget for displaying closed captions on top of a video.
- ClosedCaptionFile
- A structured representation of a parsed closed caption file.
- DurationRange
- Describes a discrete segment of time within a video using a start and end Duration.
- LocalizationsBase
- Localizations
- SubRipCaptionFile
- Represents a ClosedCaptionFile, parsed from the SubRip file format. See: https://en.wikipedia.org/wiki/SubRip
- VideoConfig
- The config of VideoView.
- VideoController
- The controller of VideoView. Add VideoPlayerController.
- VideoControllerInherited
- The widget used to pass VideoController.
- VideoLocalizations
- localizations
- VideoPlayer
- Widget that displays the video controlled by controller.
- VideoPlayerController
- Controls a platform video player, and provides updates when the state is changing.
- VideoPlayerOptions
- VideoPlayerOptions can be optionally used to set additional player settings
- VideoPlayerValue
- The duration, current position, buffering state, error state and settings of a VideoPlayerController.
- VideoProgressBarColors
- Used to configure the VideoProgressBar widget's colors for how it describes the video's status.
- VideoProgressColors
- Used to configure the VideoProgressIndicator widget's colors for how it describes the video's status.
- VideoProgressIndicator
- Displays the play/buffering status of the video controlled by controller.
- VideoScrubber
- A scrubber to control VideoPlayerControllers
- VideoValue
- The duration, current position, buffering state, error state and settings of a VideoPlayerController.
- VideoView
- @Describe: The view of video.
- VideoViewLocalizations
- @Describe: LocalizationsDelegate
- WebVTTCaptionFile
- Represents a ClosedCaptionFile, parsed from the WebVTT file format. See: https://en.wikipedia.org/wiki/WebVTT
Enums
- ControlsType
- @Describe: The config of VideoView.
- DataSourceType
- The way in which the video was originally loaded.
- VerticalDragType
- Vertical movement adjusts the volume or brightness.
- VideoFormat
- The file format of the given video.
- VideoInitStatus
- Initialization status of video.
- VideoTextPosition
- Position of text for video progress
Extensions
- ControlsTypeExtension on ControlsType
- Extension of ControlsType.
- VideoInitStatusExtension on VideoInitStatus
- Extension of VideoInitStatus.
Typedefs
- BottomBuilder = Widget? Function(BuildContext context, bool isFullScreen, Widget playPauseButton, Widget progressBar, Widget muteButton, Widget speedButton, Widget fullScreenButton)
- It is used to define the control buttons at the bottom and the layout of the display content.
-
CenterActionsBuilder
= List<
Widget> Function(BuildContext context, bool isFullScreen, bool isLock, Widget lockButton) - Widgets on the middle left.
- CenterPlayButtonBuilder = Widget Function(VoidCallback onPlayOrPause)
- Play button in the middle.
-
FullScreenBuilder<
T> = T Function(BuildContext context, bool isFullScreen) - Different widgets are displayed depending on whether they are full screen or not.
- PlaceholderBuilder = Widget? Function(VideoValue value)
- Widgets in various initialized states.