liplayer library
Classes
- LiData
- LiFit
- How a video should be inscribed into LiView.
- LiLog
- API for sending log output
- LiLogLevel
- LiOption
- LiPlayer
- LiPlugin
- LiSlider
- LiSlider is like Slider in Flutter SDK. LiSlider 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.
- LiSliderColors
- Colors for the LiSlider
- LiValue
- LiValue include the properties of a LiPlayer which update not frequently.
- LiView
- LiView is a widget that can display the video frame of LiPlayer.
- LiVolume
- Li System Volume Manger
- LiVolumeEvent
-
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 LiVolume.STREAM_MUSIC in this version - LiVolumeWatcher
- stateful widget that watching system volume, no ui widget when system volume changed, watcher will be invoked.
Functions
-
defaultLiBrightnessToast(
double value, Stream< double> emitter) → Widget -
defaultLiPanelBuilder(
LiPlayer player, LiData data, BuildContext context, Size viewSize, Rect texturePos) → Widget -
Default builder generate default
LiPanel
UI -
defaultLiVolumeToast(
double value, Stream< double> emitter) → Widget - Default builder generate default LiVolToast UI
Typedefs
- LiPanelWidgetBuilder = Widget Function(LiPlayer player, LiData data, BuildContext context, Size viewSize, Rect texturePos)
- The signature of the LayoutBuilder builder function.
- LiVolumeCallback = void Function(LiVolumeEvent value)
- Volume changed callback func.