flutter_sys_call 1.0.0 flutter_sys_call: ^1.0.0 copied to clipboard
一个用来调用系统小功能的插件,目前包括震动,视频录制,二维码识别
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_sys_call
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_sys_call: ^1.0.0
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_sys_call/flutter_sys_call.dart';