meedu_player library

Classes

BuilderRef
A interface that must be implemented in the ConsumerWidget
Caption
A representation of a single caption.
ClosedCaption
Widget for displaying closed captions on top of a video.
ClosedCaptionFile
A structured representation of a parsed closed caption file.
ClosedCaptionView
Consumer
A widget to listen the events in a SimpleNotifier or StateNotifier
ConsumerState<T extends ConsumerStatefulWidget>
A State that has access to a BuilderRef through ref, allowing it to read providers.
ConsumerStatefulElement
ConsumerStatefulWidget
A StatefulWidget that can read providers.
ConsumerWidget
A base-class for widgets that wants to listen to providers
ContextlessNavigator
this class has the navigator state and the transition configuration
CustomCallbacks
CustomIcons
this class help you to change the default player icons
CustomOpacityTransition
DataSource
DurationRange
Describes a discrete segment of time within a video using a start and end Duration.
Durations
Defines the animation durations for various animations in a video.
EnabledButtons
this class helps you to hide some player buttons
EnabledControls
this class helps you to hide some player buttons
EnabledOverlays
This class helps you to enable or disable the visibility of player overlays.
ForwardAndRewindRippleSide
FullscreenButton
LoggingActionDispatcher
An ActionDispatcher that logs all the actions that it invokes.
MeeduNavigatorObserver
this class is used to listen the changed in the stack route
MeeduPlayerController
MeeduPlayerDataStatus
MeeduPlayerFullscreenPage
MeeduPlayerProvider
MeeduPlayerStatus
MeeduVideoPlayer
MSliderTrackShape
MultiProviderListener
this class allows you listen the changes in multiples providers
MultiProviderListenerItem<Notifier extends BaseNotifier>
this class is used to define onChange callback for one Notifier
MuteSoundButton
Navigator 1.0 to use push, pushReplacement, pushAndRemoveUntil and all pop methods
PageWithArguments
A simple Widget with a callback useful to set arguments for one SimpleProvider or a StateProvider
PageWithArgumentsWidget
uses this class to create a page and define the arguments for a SimpleProvider or a StateProvider
PipButton
PlayBackSpeedButton
PlayerButton
PlayerSlider
PlayPauseButton
ProviderListener<T extends BaseNotifier>
A widget to listen events in a SimpleProvider or a StateProvider
Responsive
A utility class that helps make the UI responsive by defining the size of icons, buttons, and text relative to the screen size.
RxBuilder
A widget to be used with Observables (instances of Rx)
ScreenManager
SubRipCaptionFile
Represents a ClosedCaptionFile, parsed from the SubRip file format. See: https://en.wikipedia.org/wiki/SubRip
Target<Notifier, Result>
class to save a Notifier, the listener and the rebuild function
VideoCoreForwardAndRewind
VideoCoreForwardAndRewindLayout
VideoFitButton
VideoPlayer
Widget that displays the video controlled by controller.
VideoPlayerController
Controls a platform video player, and provides updates when the state is changing.
VideoPlayerOptions
VideoPlayerOptions can be optionally used to set additional player settings
VideoPlayerValue
The duration, current position, buffering state, error state and settings of a VideoPlayerController.
VideoProgressColors
Used to configure the VideoProgressIndicator widget's colors for how it describes the video's status.
VideoProgressIndicator
Displays the play/buffering status of the video controlled by controller.
VideoScrubber
A scrubber to control VideoPlayerControllers
WebVTTCaptionFile
Represents a ClosedCaptionFile, parsed from the WebVTT file format. See: https://en.wikipedia.org/wiki/WebVTT

Enums

ControlsStyle
An enumeration of the different styles that can be applied to controls, such as buttons and icons and layouts.
DataSourceType
The way in which the video was originally loaded.
DataStatus
Filter
enum used to identifier filters used in a provider
PlayerStatus
RippleSide
Transition
all posible transition animation for the router module
VideoFormat
The file format of the given video.

Mixins

AfterFirstLayoutMixin<T extends StatefulWidget>
Add with AfterLayoutMixin

Extensions

ContextExtensionss on BuildContext
BuildContext extension with some ui utils methods and getters
ContextNavigatorExt on BuildContext
BuildContext extension to get an instance of Navigator1
SimpleProviderExt on SimpleProvider<Notifier>
extension for SimpleProvider
StateProviderExt on StateProvider<Notifier, S>
extension for StateProvider

Properties

router ContextlessNavigator
no setter

Functions

createSimpleSelectListener(Target target) → void
create the listener for provider.select filter (SimpleProvider)
createStateSelectListener(Target target) → void
create the listener for provider.select filter (StateProvider)
createWhenListener(Target target) → void
create the listener for provider.when filter
initMeeduPlayer({bool iosUseFVP = false, bool androidUseFVP = false}) Future<void>
Parameters:
initWindowManagerIfNeeded() Future<void>
printDuration(Duration? duration) String
printDurationWithHours(Duration? duration) String

Typedefs

ConsumerBuilder = Widget Function(BuildContext context, BuilderRef ref, Widget? child)
A function that can also listen to providers