MethodChannelFlutterMidiPro class
An implementation of FlutterMidiProPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterMidiProPlatform
- MethodChannelFlutterMidiPro
Constructors
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
-
changeSound(
{required ByteData? sf2Data, String name = 'instrument.sf2'}) → Future< String?> -
inherited
-
getPlatformVersion(
) → Future< String?> -
inherited
-
loadSoundfont(
{required ByteData? sf2Data, String name = 'instrument.sf2'}) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
playMidiNote(
{required int midi, required int velocity}) → Future< String?> -
override
-
stopMidiNote(
{required int midi, required int velocity}) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
writeToFile(
ByteData data, {String name = "instrument.sf2"}) → Future< File?> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited