FlutterRecord class

Singleton class that communicate with a FlutterRecord Instance

Constructors

FlutterRecord()
factory

Properties

isPlaying ↔ bool
Player is playing?
read / write
isRecording ↔ bool
Recorder is isRecording?
read / write
volumeSubscription ↔ StreamController<double>
Feedback volume of steam
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cancelRecorder() → Future<void>
Cancel recording audio
getDuration({String path}) → Future<int>
get path audio duration
pausePlayer() → Future<void>
Pause current play audio
requestPermission() → Future<bool>
setVolume(double volume) → Future<void>
set current player volume
startPlayer({String path}) → Future<void>
Start current play audio
startRecorder({String path, double maxVolume}) → Future<String>
Start recorder
stopPlayer() → Future<void>
Stop current play audio
stopRecorder() → Future<void>
Stop recorder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

getBasePath → Future<String>
read-only
platformVersion → Future<String>
read-only