flutter_plugin_record_plus 0.0.7 flutter_plugin_record_plus: ^0.0.7 copied to clipboard
The flutter voice recording plug-in,provides the recording animation and the recording successfully returns to the recording file path
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_plugin_record_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_plugin_record_plus: ^0.0.7
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:flutter_plugin_record_plus/const/play_state.dart';
import 'package:flutter_plugin_record_plus/const/record_state.dart';
import 'package:flutter_plugin_record_plus/const/response.dart';
import 'package:flutter_plugin_record_plus/flutter_plugin_record.dart';
import 'package:flutter_plugin_record_plus/index.dart';
import 'package:flutter_plugin_record_plus/utils/common_toast.dart';
import 'package:flutter_plugin_record_plus/widgets/custom_overlay.dart';
import 'package:flutter_plugin_record_plus/widgets/voice_widget.dart';