FlutterFlexPlayerController class

Inheritance

Properties

bufferedPosition Duration
Buffer position of the video player.
no setter
configuration FlexPlayerConfiguration
getter/setter pair
duration Duration
Returns the duration of the video player.
no setter
hashCode int
The hash code for this object.
no setterinherited
isFullScreen bool
no setter
isInitialized bool
Returns whether the video player is initialized.
no setter
isLooping bool
Returns whether the video player is looping.
no setter
isMuted bool
Returns whether the video player is muted.
no setter
isPlaying bool
Returns whether the video player is playing.
no setter
listner VoidCallback?
getter/setter pair
onDurationChanged Stream<Duration>
no setter
onInitialized Stream<InitializationEvent>
no setter
onPlaybackSpeedChanged Stream<double>
no setter
onPlayerStateChanged Stream<PlayerState>
no setter
onPositionChanged Stream<Duration>
no setter
onQualityChanged Stream<String>
no setter
playbackSpeed double
Returns the playback speed of the video player.
no setter
position Duration
Returns the current position of the video player.
no setter
qualities ↔ RxList<String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedQuality String
getter/setter pair
source FlexPlayerSource?
no setter
videoPlayerController → VideoPlayerController
no setter
videosList ↔ RxList<VideoData>
getter/setter pair
volume double
Returns the volume of the video player.
no setter
worker ↔ Worker?
getter/setter pair

Methods

dispose() → void
override
enterFullScreen(BuildContext context) → void
override
exitFullScreen(BuildContext context) → void
override
load(FlexPlayerSource source, {bool autoPlay = false, bool loop = false, bool mute = false, double volume = 1.0, double playbackSpeed = 1.0, Duration? position, VoidCallback? onInitialized}) → void
Load the video player with the given source.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
override
play() → void
override
reload() → void
override
seekTo(Duration position) → void
override
setLooping(bool looping) → void
override
setMute(bool mute) → void
override
setPlaybackSpeed(double speed) → void
override
setQuality(String quality) → void
override
setVolume(double volume) → void
override
showQualityDialog(BuildContext context) → void
showSpeedDialog(BuildContext context) → void
stop() → void
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance FlutterFlexPlayerController
no setter