flutter_screentime icon indicating copy to clipboard operation
flutter_screentime copied to clipboard

Using Screen Time API for iOS in Flutter; similar implementation in Android.

flutter_screentime

Using the Screen Time API for iOS in Flutter.

https://user-images.githubusercontent.com/41247249/235582095-66d23f3e-91d1-4a42-88d0-4c3cae886c39.mov

Android uses the overlay feature to implement a similar screen time feature to that of iOS.

https://github.com/ioridev/flutter_screentime/assets/41247249/144c7f65-6ea0-4ab7-82fb-4c5444f18cf3

Features

  • Set restrictions by selecting specific apps or websites.
  • Monitor selected activities.
  • Stop monitoring.

Notes

This sample uses the Screen Time API for iOS, and therefore will not function on Android devices.

Additionally, this sample was created for demonstration purposes and is not recommended for direct use in production applications. If using in an actual application, please thoroughly consider security and privacy implications.