zeking_file_selector 0.0.4 zeking_file_selector: ^0.0.4 copied to clipboard
根据文件后缀 获取 文件,只支持Android。如果要支持IOS请使用插件 file_picker
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add zeking_file_selector
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
zeking_file_selector: ^0.0.4
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:zeking_file_selector/zeking_file_selector.dart';