FlutterMidiProPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterMidiProPlatform
Implementers

Constructors

FlutterMidiProPlatform.new()
Constructs a MidiProPlatform.

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

changeSound({required ByteData? sf2Data, String name = 'instrument.sf2'}) Future<String?>
getPlatformVersion() Future<String?>
loadSoundfont({required ByteData? sf2Data, String name = 'instrument.sf2'}) Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
playMidiNote({required int midi, required int velocity}) Future<String?>
stopMidiNote({required int midi, required int velocity}) Future<String?>
toString() String
A string representation of this object.
inherited
writeToFile(ByteData data, {String name = 'instrument.sf2'}) Future<File?>

Operators

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

Static Properties

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