MethodChannelPlugin class

An implementation of ImpulsePlayerPluginPlatform that uses method channels.

Inheritance

Constructors

MethodChannelPlugin()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fontParams(TextStyle h3) Map<String, Object?>
getDuration(int id) Future<Long>
override
getError(int id) Future<String?>
override
getPlatformVersion() Future<String?>
override
getProgress(int id) Future<Long>
override
getState(int id) Future<ImpulsePlayerState>
override
isPlaying(int id) Future<bool>
override
load(int id, String? title, String? subtitle, String url) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause(int id) Future<void>
override
play(int id) Future<void>
override
seek(int id, Long time) Future<void>
override
setAppearance(TextStyle h3, TextStyle h4, TextStyle s1, TextStyle l4, TextStyle l7, TextStyle p1, TextStyle p2, Color accentColor) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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