bccm_player library
Classes
- AppConfig
- BccmControlsThemeData
- BccmMiniPlayerThemeData
- BccmPlayerController
- The controller represents a player, and it's used to control and listen to player state.
- BccmPlayerControlsConfig
- BccmPlayerInterface
-
BccmPlayerStateBuilder<
T> - BccmPlayerTheme
- BccmPlayerThemeData
- BccmPlayerView
-
A widget that displays a video player with controls given a
AbstractBccmPlayerViewController
. - BccmPlayerViewConfig
- Configuration usually passed to a BccmPlayerView or a BccmPlayerViewController.
- BccmPlayerViewController
- This is used to configure and control a specific player view.
- CastButton
- CastSessionAvailable
- ChromecastEvent
- ManagedBccmPlayerView
-
Creates and manages the lifetime of a BccmPlayerViewController to use with a
ControlledBccmPlayerView
. - MediaItem
- MediaItemTransitionEvent
- MediaMetadata
- MiniPlayer
- NpawConfig
- PictureInPictureModeChangedEvent
- PlaybackEndedEvent
- PlaybackStateChangedEvent
- PlayerPluginState
- PlayerPluginStateNotifier
- PlayerState
- PlayerStateNotifier
- PlayNextButton
- PositionDiscontinuityEvent
- SessionEnded
- SessionEnding
- SessionResumed
- SessionResumeFailed
- SessionResuming
- SessionStarted
- SessionStartFailed
- SessionStarting
- SessionSuspended
-
StateNotifierSelectBuilder<
T, T2> -
Listens to a
StateNotifier
and use it builds a widget tree based on the latest value. -
StateNotifierSelectBuilderState<
T, T2> - VideoPlatformView
- Creates a platform view for video playback.
Extensions
-
ChromecastStreamExtensions
on Stream<
ChromecastEvent> -
TrackListX
on List<
Track?> - TrackX on Track
- VideoSizeX on VideoSize
Constants
- autoTrackId → const String
- kMiniPlayerHeight → const double
Functions
-
calcTimeLeftMs(
{required num? duration, required num? currentMs}) → double
Typedefs
-
AdditionalControlsBuilder
= List<
Widget> ? Function(BuildContext context) - ControlsBuilder = Widget Function(BuildContext context)
-
DeviceOrientationsCallback
= List<
DeviceOrientation> ? Function(BccmPlayerViewController viewController) - FullscreenPageRouteBuilderFactory = PageRouteBuilder Function(BccmPlayerViewController viewController)