tt_screen_record_plugin 0.0.1
tt_screen_record_plugin: ^0.0.1 copied to clipboard
录屏组件,支持安卓和iOS。其中安卓使用的是 device_screen_recorder插件 iOS使用的系统的能力ReplayKit,iOS14(包括14)之后才支持录屏保存到自定义的路径,比如沙盒 iOS14之前,录制的视频会存入相册 Screen recording component supports Android and iOS. Android uses the device_sc [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add tt_screen_record_pluginWith Flutter:
$ flutter pub add tt_screen_record_pluginThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
tt_screen_record_plugin: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:tt_screen_record_plugin/tt_screen_record_plugin.dart';