social_media_recorder 1.1.13 social_media_recorder: ^1.1.13 copied to clipboard
A Flutter package for both android and iOS which provides Audio recorder from microphone to a given file path through Button to record voice like social media Button
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add social_media_recorder
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
social_media_recorder: ^1.1.13
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:social_media_recorder/audio_encoder_type.dart';
import 'package:social_media_recorder/main.dart';
import 'package:social_media_recorder/provider/sound_record_notifier.dart';
import 'package:social_media_recorder/screen/social_media_recorder.dart';
import 'package:social_media_recorder/widgets/lock_record.dart';
import 'package:social_media_recorder/widgets/show_counter.dart';
import 'package:social_media_recorder/widgets/show_mic_with_text.dart';
import 'package:social_media_recorder/widgets/sound_recorder_when_locked_design.dart';