MetronomePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • MetronomePlatform
Implementers

Constructors

MetronomePlatform()
Constructs a MetronomePlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() Future<void>
getBPM() Future<int?>
getVolume() Future<int?>
init(String mainPath, {int bpm = 120, int volume = 50, bool enableSession = true, bool enableTickCallback = false}) Future<void>
isPlaying() Future<bool?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onListenTick(dynamic onEvent) → void
pause() Future<void>
play(int bpm) Future<void>
saveAudioAssetsToLocal(String mainPath) Future<void>
setAudioAssets(String mainPath) Future<void>
setAudioFile(String mainPath) Future<void>
setBPM(int bpm) Future<void>
setVolume(int volume) Future<void>
stop() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance MetronomePlatform
The default instance of MetronomePlatform to use.
getter/setter pair