FlutterRecord class

Singleton class that communicate with a FlutterRecord Instance

Constructors

FlutterRecord()
factory

Properties

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

Methods

cancelRecorder() Future<void>
Cancel recording audio
getDuration({String path}) Future<int>
get path audio duration
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
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
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

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