FlutterBasePlayer class
Constructors
Properties
- aspectRatio → double
-
no setterinherited
- audioTrack → BaseTrack
-
no setterinherited
-
audioTracks
→ List<
BaseTrack> -
no setterinherited
- buffer → Duration
-
no setterinherited
- buffered → double
-
no setterinherited
- completed → bool
-
no setterinherited
- duration → Duration
-
no setterinherited
- errorMessage → String
-
no setterinherited
- eventStream → ChangeNotifier
-
no setterinherited
- filename ↔ String
-
getter/setter pair
- hasError → bool
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBuffering → bool
-
no setterinherited
- isInitialized → bool
-
no setterinherited
- isLooping → bool
-
no setterinherited
- isPlaying → bool
-
no setterinherited
- playbackSpeed → double
-
no setterinherited
- position → Duration
-
no setterinherited
- precompleteStream → ChangeNotifier
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
no setterinherited
- subtitleTrack → BaseTrack
-
no setterinherited
-
subtitleTracks
→ List<
BaseTrack> -
no setterinherited
- videoTrack → BaseTrack
-
no setterinherited
-
videoTracks
→ List<
BaseTrack> -
no setterinherited
- volume → double
-
no setterinherited
Methods
-
builder(
BuildContext context, {BoxFit? fit, double? ratio, Color? color}) → Widget -
dispose(
) → void -
loadAssets(
String path, {int? bufferSize, MPVLogLevel? logLevel, Duration? initialDuration}) → Future< void> -
loadFile(
File file, {int? bufferSize, MPVLogLevel? logLevel, Duration? initialDuration}) → Future< void> -
loadNetwork(
String url, {Map? headers, int? bufferSize, MPVLogLevel? logLevel, Duration? initialDuration}) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListener(
dynamic event) → dynamic -
pause(
) → void -
play(
) → void -
replay(
) → void -
seek(
Duration position) → void -
setAudioTrack(
BaseTrack track) → void -
setLooping(
bool looping) → void -
setPlaybackSpeed(
double speed) → void -
setProperty(
String property, String value) → dynamic -
setSubtitleTrack(
BaseTrack track) → void -
setVideoTrack(
BaseTrack track) → void -
setVolume(
double volume) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
initialize(
) → dynamic