app_blocker 2.0.6
app_blocker: ^2.0.6 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 Dart:
$ dart pub add app_blockerWith Flutter:
$ flutter pub add app_blockerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
app_blocker: ^2.0.6Alternatively, 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:app_blocker/app_blocker.dart';