flick_video_player library
Classes
- FlickAnimatedVolumeLevel
- Shows a widget when the volume level changes.
- FlickAutoHideChild
- AutoHide child according to timeout managed by FlickDisplayManager.
- FlickAutoPlayCircularProgress
- Circular progress bar which uses autoPlayNextVideo timeout duration.
- FlickAutoPlayTimerProgressColors
- FlickAutoPlayTimerProgressPainter
- FlickControlManager
- Manages action on video player like play, mute and others.
- FlickCurrentPosition
- Returns a text widget with current position of the video.
- FlickDisplayManager
- Manages display related properties like auto-hide controls.
- FlickFullScreenToggle
- Show a widget based on the full-screen state of the player and toggle the same.
- FlickLandscapeControls
- Default landscape controls.
- FlickLeftDuration
- Returns a text widget with left duration of the video.
- FlickManager
-
Manages
VideoPlayerController
and operations on it. - FlickManagerBuilder
-
Uses
MultiProviders
to add all the managers as providers. - FlickNativeVideoPlayer
-
Renders
VideoPlayer
with BoxFit configurations. - FlickPlayToggle
- Show a widget based on play/pause state of the player and toggle the same.
- FlickPortraitControls
- Default portrait controls.
- FlickProgressBarSettings
- FlickSeekVideoAction
-
GestureDetector's that calls
flickControlManager.seekForward
/flickControlManager.seekBackward
onTap of opaque area/child. - FlickSetPlayBack
- Show a widget based on the full-screen state of the player and toggle the same.
- FlickShowControlsAction
-
GestureDetector that calls
flickDisplayManager.handleVideoTap
onTap of opaque area/child. - FlickShowControlsActionWeb
-
GestureDetector that calls
flickDisplayManager.handleVideoTap
onTap of opaque area/child. - FlickSoundToggle
- Show a widget based on the mute/unmute state of the player and toggle the same.
- FlickSubtitleToggle
- Show a widget based on the subtitle visivle/invisible state of the player and toggle the same.
- FlickTogglePlayAction
-
GestureDetector that calls
flickDisplayManager.togglePlay
onTap of opaque area/child. - FlickToggleSoundAction
-
GestureDetector that calls
flickControlManager.toggleMute
onTap of opaque area/child. - FlickTotalDuration
- Returns a text widget with total duration of the video.
- FlickVideoBuffer
- Shows a widget when the video is buffering (and video is playing).
- FlickVideoManager
-
Manages
VideoPlayerController
. - FlickVideoPlayer
- FlickVideoProgressBar
- Renders progress bar for the video using custom paint.
- FlickVideoWithControls
- Default Video with Controls.
Properties
- getPlayerControlsTimeoutDefault ↔ GetPlayerControlsTimeout
-
getter/setter pair
Typedefs
- GetPlayerControlsTimeout = Duration Function({bool? errorInVideo, bool? isPlaying, bool? isVideoEnded, bool? isVideoInitialized})
- GetProgressBarBackgroundPaint = Paint Function({double? handleRadius, double? height, double? width})
- GetProgressBarBufferedPaint = Paint Function({double? bufferedEnd, double? bufferedStart, double? handleRadius, double? height, double? playedPart, double? width})
- GetProgressBarHandlePaint = Paint Function({double? handleRadius, double? height, double? playedPart, double? width})
- GetProgressBarPlayedPaint = Paint Function({double? handleRadius, double? height, double? playedPart, double? width})
- TimerCancelCallback = dynamic Function(bool playNext)