fplayer library

Classes

FData
FFit
How a video should be inscribed into FView.
FLog
API for sending log output
FLogLevel
FOption
FPlayer
FPlugin
FSlider
FSlider is like Slider in Flutter SDK. FSlider support cacheValue which can be used to show the player's cached buffer. The colors is used to make colorful painter to draw the line and circle.
FSliderColors
Colors for the FSlider
FValue
FValue include the properties of a FPlayer which update not frequently.
FView
FView is a widget that can display the video frame of FPlayer.
FVolume
FVolumeEvent
FVolumeWatcher
stateful widget that watching system volume, no ui widget when system volume changed, watcher will be invoked.
ResolutionItem
VideoItem

Enums

FState

Functions

defaultFBrightnessToast(double value, Stream<double> emitter) Widget
defaultFPanelBuilder(FPlayer player, FData data, BuildContext context, Size viewSize, Rect texturePos) Widget
Default builder generate default FPanel UI
defaultFVolumeToast(double value, Stream<double> emitter) Widget
Default builder generate default FVolToast UI
fPanelBuilder({Key? key, bool fill = false, bool isVideos = false, List<VideoItem>? videoList, int videoIndex = 0, void playNextVideoFun()?, String title = '', String subTitle = '', int duration = 5000, bool doubleTap = true, bool isRightButton = false, List<Widget>? rightButtonList, bool isSnapShot = false, bool isCaption = false, Map<String, double>? speedList, bool isResolution = false, Map<String, ResolutionItem>? resolutionList, void settingFun()?, void onError()?, void onVideoEnd()?, void onVideoPrepared()?, void onVideoTimeChange()?}) FPanelWidgetBuilder

Typedefs

FPanelWidgetBuilder = Widget Function(FPlayer player, FData data, BuildContext context, Size viewSize, Rect texturePos)
FVolumeCallback = void Function(FVolumeEvent value)
Volume changed callback func.

Exceptions / Errors

FException