flutter_plugin_record_new 1.0.7 flutter_plugin_record_new: ^1.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_new
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_plugin_record_new: ^1.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_new/const/play_state.dart';
import 'package:flutter_plugin_record_new/const/record_state.dart';
import 'package:flutter_plugin_record_new/const/response.dart';
import 'package:flutter_plugin_record_new/flutter_plugin_record.dart';
import 'package:flutter_plugin_record_new/index.dart';
import 'package:flutter_plugin_record_new/utils/common_toast.dart';
import 'package:flutter_plugin_record_new/widgets/custom_overlay.dart';
import 'package:flutter_plugin_record_new/widgets/voice_widget.dart';