public/ui/sound_recorder_ui library
The Flutter Sound UI recorder
The SoundRecorderUI widget provide a simple UI for recording audio.
The audio is recorded to a Track .
Classes
- RecordedAudio
- RecordedAudio is used to track the audio media created during a recording session via the SoundRecorderUI.
- SoundRecorderUI
- A UI for recording audio.
- SoundRecorderUIState
Typedefs
- OnDelete = void Function()
- Callback fn type
- OnPaused = void Function(RecordedAudio media, bool isPaused)
- Callback fn type
- OnProgress = void Function(RecordedAudio media)
- Callback fn type
- OnStart = void Function()
- Callback fn type
- OnStop = void Function(RecordedAudio media)
- Callback fn type
-
UIRequestPermission
= Future<
bool> Function(BuildContext context, Track track) -
The
requestPermissions
callback allows you to provide an UI informing the user that we are about to ask for a permission.