A new Flutter plugin for us could selected image or vedio or audio .
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: flutter_picker_plugin: ^2.0.0
2. Install it
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
import 'package:flutter_picker_plugin/FilePickerBuilder.dart'; import 'package:flutter_picker_plugin/PictureSelector.dart'; import 'package:flutter_picker_plugin/config/PictureMimeType.dart'; import 'package:flutter_picker_plugin/config/SelectionMode.dart'; import 'package:flutter_picker_plugin/json/base/json_convert_content.dart'; import 'package:flutter_picker_plugin/json/base/json_filed.dart'; import 'package:flutter_picker_plugin/json/modle/image_bean_entity.dart'; import 'package:flutter_picker_plugin/json/modle/image_bean_entity_helper.dart'; import 'package:flutter_picker_plugin/plugin.dart';