![]()
Flutter 的屏幕使用时间 API 插件
一个用于使用屏幕使用时间 API 的 Flutter 插件。仅支持 iOS。
什么是 iOS 屏幕使用时间 API?
特点
- 显示要劝阻的应用程序选择屏幕。
- 解除所有应用程序的劝阻。

入门
1. 在 Xcode 中添加功能





2. 请求 Apple 使用家庭控制 API

用法
选择要劝阻的应用程序
final _screenTimeApiIosPlugin = ScreenTimeApiIos();
_screenTimeApiIosPlugin.selectAppsToDiscourage();
解除所有应用程序的劝阻
final _screenTimeApiIosPlugin = ScreenTimeApiIos();
_screenTimeApiIosPlugin.encourageAll();
为该插件贡献
此插件的功能还不够。请为此插件贡献!?