Using the Screen Time API for iOS in Flutter.
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
Apps created from this template.
https://apps.apple.com/us/app/focusnova/id6563146257
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.