klipt_video_player library
Classes
- AnimatedPlayPause
- A widget that animates implicitly between a play and a pause icon.
- AnimatedPlayPauseState
- ApplicationController
- BulletColorSelection
- BulletController
- BulletInput
- 弹幕输入框,悬浮在键盘上方
- BulletInputBar
- BulletSetting
- CenterPlayButton
- Chewie
- A Video Player with Material and Cupertino skins.
- ChewieController
- The ChewieController is used to configure and drive the Chewie Player Widgets. It provides methods to control playback, such as pause and play, as well as methods that control the visual appearance of the player, such as enterFullScreen or exitFullScreen.
- ChewieControllerProvider
- ChewieProgressColors
- ChewieState
- CustomMaterialControls
- CustomMaterialControlsState
- DanmakuData
- KliptVideoView
- OptionItem
- OptionsDialog
- OptionsTranslation
- PlaybackSpeedDialog
- PlayerNotifier
- The new State-Manager for Chewie! Has to be an instance of Singleton to survive over all State-Changes inside chewie
- PlayerWithControls
- ProgressBar
- ProgressBar is like Slider in Flutter SDK. ProgressBar 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.
- ProgressBarColors
- Colors for the ProgressBar
- Subtitle
- Subtitles
- ToggleBulletButton
Constants
- bodyTextRegularWhite → const TextStyle
- smallTextRegularLightGrey → const TextStyle
- subtitleTextMediumWhite → const TextStyle
- subtitleTextRegular → const TextStyle
- subtitleTextRegularWhite → const TextStyle
Functions
-
blackLinearGradient(
{bool fromTop = false}) → dynamic -
buildBulletSwitch(
bool backgroundIsWhite, VoidCallback onToggle) → GestureDetector - 弹幕开关的按钮,目前可以切换按钮图样
-
defaultFBrightnessToast(
double value, Stream< double> emitter) → Widget -
defaultFVolumeToast(
double value, Stream< double> emitter) → Widget - Default builder generate default FVolToast UI
-
formatDuration(
Duration position) → String -
stringToColor(
String colorString) → Color
Typedefs
-
ChewieRoutePageBuilder
= Widget Function(BuildContext context, Animation<
double> animation, Animation<double> secondaryAnimation, ChewieControllerProvider controllerProvider)