fijk2player library

Classes

FijkData
FijkFit
How a video should be inscribed into FijkView.
FijkLog
API for sending log output
FijkLogLevel
Log level for the FijkLog.log method.
FijkOption
FijkPlayer
FijkPlayer present as a playback. It interacts with native object.
FijkPlugin
FijkSlider
FijkSlider is like Slider in Flutter SDK. FijkSlider 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.
FijkSliderColors
Colors for the FijkSlider
FijkValue
FijkValue include the properties of a FijkPlayer which update not frequently.
FijkView
FijkView is a widget that can display the video frame of FijkPlayer.
FijkVolume
Fijk System Volume Manger
FijkVolumeEvent
vol is the value of volume, and has been mapped into range 0.0, 1.0. true value of sui indicates that Android/iOS system volume changed UI is shown for this volume change event. type shows track\stream type for this volume change, this value is always FijkVolume.STREAM_MUSIC in this version
FijkVolumeWatcher
stateful widget that watching system volume, no ui widget when system volume changed, watcher will be invoked.

Enums

FijkState
State of the FijkPlayer

Functions

defaultFijkBrightnessToast(double value, Stream<double> emitter) Widget
defaultFijkPanelBuilder(FijkPlayer player, FijkData data, BuildContext context, Size viewSize, Rect texturePos) Widget
Default builder generate default FijkPanel UI
defaultFijkVolumeToast(double value, Stream<double> emitter) Widget
Default builder generate default FijkVolToast UI
fijkPanel2Builder({Key? key, bool fill = false, int duration = 4000, bool doubleTap = true, bool snapShot = false, VoidCallback? onBack}) FijkPanelWidgetBuilder

Typedefs

FijkPanelWidgetBuilder = Widget Function(FijkPlayer player, FijkData data, BuildContext context, Size viewSize, Rect texturePos)
The signature of the LayoutBuilder builder function.
FijkVolumeCallback = void Function(FijkVolumeEvent value)
Volume changed callback func.

Exceptions / Errors

FijkException