FlutterFlexPlayerController class
Constructors
Properties
-
aspectRatioStream
→ Stream<
double> -
no setter
-
bufferSink
→ StreamSink<
Duration> -
no setter
- configuration ↔ FlexPlayerConfiguration
-
getter/setter pair
-
currentPlayingStream
→ Stream<
VideoData> -
no setter
- duration ↔ Duration
-
Returns the duration of the video player.
getter/setter pair
-
durationSink
→ StreamSink<
Duration> -
no setter
- eventStreamSubScription ↔ StreamSubscription?
-
getter/setter pair
- getCurrentPlaying ↔ VideoData?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFullScreen ↔ RxBool
-
getter/setter pair
- isInitialized ↔ bool
-
Returns whether the video player is initialized.
getter/setter pair
- 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.
getter/setter pair
-
key
→ GlobalKey<
State< StatefulWidget> > -
final
- listner ↔ VoidCallback?
-
getter/setter pair
-
nativePlayer
↔ Rxn<
Widget> -
getter/setter pair
-
onBufferChanged
→ Stream<
Duration> -
no setter
-
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
-
playbackDurationStream
→ Stream<
PlayBackDurationStream> -
no setter
- playbackSpeed ↔ double
-
Returns the playback speed of the video player.
getter/setter pair
-
playbackSpeedSink
→ StreamSink<
double> -
no setter
- playerAspectRatio ↔ RxDouble
-
getter/setter pair
-
playerStateSink
→ StreamSink<
PlayerState> -
no setter
- position ↔ Duration
-
Returns the current position of the video player.
getter/setter pair
-
positionSink
→ StreamSink<
Duration> -
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
- type ↔ FileType
-
getter/setter pair
-
videosList
↔ RxList<
VideoData> -
getter/setter pair
- volume ↔ double
-
Returns the volume of the video player.
getter/setter pair
Methods
-
disposePlayer(
) → dynamic -
enterFullScreen(
BuildContext context) → void -
exitFullScreen(
BuildContext context) → void -
load(
FlexPlayerSource source, {bool autoPlay = false, bool loop = false, bool mute = false, double volume = 1.0, double playbackSpeed = 1.0, Duration? position, VoidCallback? onInitialized}) → Future< void> -
Load the video player with the given
source
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseEvent(
dynamic event) → dynamic -
pause(
) → void -
play(
) → void -
seekTo(
Duration position) → void -
setLooping(
bool looping) → void -
setMute(
bool mute) → void -
setPlaybackSpeed(
double speed) → void -
setQuality(
String quality) → void -
setVolume(
double volume) → void -
showQualityDialog(
BuildContext context) → void -
showSpeedDialog(
BuildContext context) → void -
startListner(
) → dynamic -
stop(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited