app_blocker 2.0.7
app_blocker: ^2.0.7 copied to clipboard
Cross-platform app blocking plugin for Flutter. Block apps with custom block screen (Android) and Screen Time Shield (iOS). Supports scheduling and profiles.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add app_blockerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
app_blocker: ^2.0.7Alternatively, 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:app_blocker/app_blocker.dart';