flutter_audio_recorder_kit 0.1.5
flutter_audio_recorder_kit: ^0.1.5 copied to clipboard
Drop-in Flutter audio recorder with live waveform, playback, WAV trimming, theming, Android foreground-service, and auto-pause on call.
Changelog #
0.1.5 #
AudioPlaybackPanel's seek bar is now a squiggly line instead of a plainSlider: the played portion is drawn as a wavy line that tapers to flat at both ends, and the remaining portion as a straight line, joined by a round thumb. Tap or drag it to seek, same as before.AudioPlaybackPanel's subtitle now shows the file size and duration once the audio loads (e.g.3.4 MB · 01:24), and a newonMetadataLoadedcallback exposes both values programmatically (nullfile size for remote URLs). This applies whereverAudioPlaybackPanelis used, including the result panel embedded inAudioRecorderWidget.
0.1.4 #
RecordingConfig's default format is nowRecordingFormat.aacM4ainstead ofRecordingFormat.wav, for smaller recordings out of the box.RecordingConfig.sampleRateis now nullable (int?, defaultnull). When left unset, it resolves per format via the newRecordingFormat.defaultSampleRate: 44100 Hz foraacM4aand 16000 Hz forwav.- Breaking:
RecordingConfig.sampleRate's type changed frominttoint?, and the defaultformatchanged as described above.
0.1.3 #
AudioPlaybackPanelnow accepts a remotehttp/httpsURL in addition to a local file path. Pass any URL tofilePathand the player streams it directly viajust_audio'ssetUrl— no local download step required.- Trim controls are automatically hidden for remote URLs (trimming requires a local WAV file and would not be applicable).
0.1.2 #
- Improved pubspec description for better pub.dev search visibility.
- Added
screenshotsentries topubspec.yamlfor pub.dev gallery rendering. - Added
ios/Pods/andios/.symlinks/to the example.gitignore.
0.1.1 #
- Updated repository URL.
0.1.0 #
Initial release.
AudioRecorderWidget: drop-in, themeable recorder UI with live waveform, elapsed-time display, status pill, and animated record button.RecorderFeatures: recording, playback, trimming, and upload are each individually toggleable per widget instance, with presets (all,recordOnly,recordAndTrim,playbackOnly).AudioPlaybackPanel: standalone playback + WAV trim panel for any audio file path.AudioRecorderController: headless recording API (start/pause/resume/stop, amplitude stream, call-interruption stream) for custom UIs.RecordingConfig: configurable format (WAV / AAC.m4a), sample rate, bit rate, channels, output directory and file name, foreground-service notification (title/text), and auto-pause-on-call.AudioRecorderTheme: full color theming withAudioRecorderTheme.fromColorSchemeto match the host app's Material theme.AudioTrimService: pure-Dart PCM WAV trimming.- Android: foreground-service recording with persistent notification and telephony-based auto-pause/resume around phone calls.
- iOS: background recording via the audio background mode and auto-pause on audio-session interruptions.
