MetronomeWeb class
- Inheritance
-
- Object
- PlatformInterface
- MetronomePlatform
- MetronomeWeb
Constructors
Properties
- gainNode ↔ GainNode?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tickController
→ StreamController<
int> -
finalinherited
Methods
-
destroy(
) → Future< void> -
override
-
getBPM(
) → Future< int?> -
override
-
getTimeSignature(
) → Future< int?> -
override
-
getVolume(
) → Future< int?> -
override
-
init(
String mainPath, {String accentedPath = '', int bpm = 120, int volume = 50, bool enableTickCallback = false, int timeSignature = 4, int sampleRate = 44100}) → Future< void> -
override
-
isPlaying(
) → Future< bool?> -
override
-
loadFileBytes(
String filePath) → Future< Uint8List> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onListenTick(
dynamic onEvent) → Stream -
inherited
-
pause(
) → Future< void> -
override
-
play(
) → Future< void> -
override
-
setAudioFile(
{String mainPath = '', String accentedPath = ''}) → Future< void> -
override
-
setBPM(
int bpm) → Future< void> -
override
-
setTimeSignature(
int timeSignature) → Future< void> -
override
-
setVolume(
int volume) → Future< void> -
override
-
startScheduler(
) → void -
stop(
) → Future< void> -
override
-
stopScheduler(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void
Constants
- channels → const int
- sampleSize → const int