flutter_app_lock 4.3.0 copy "flutter_app_lock: ^4.3.0" to clipboard
flutter_app_lock: ^4.3.0 copied to clipboard

A Flutter package for showing a lock screen on app open and app pause.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_app_lock/flutter_app_lock.dart';

import 'app/app.dart';

void main({
  @visibleForTesting bool initiallyEnabled = false,
  @visibleForTesting
  Duration initialBackgroundLockLatency = const Duration(seconds: 30),
  @visibleForTesting
  InactiveBehavior inactiveBehavior = InactiveBehavior.showWhenEnabled,
}) {
  runApp(MyApp(
    initiallyEnabled: initiallyEnabled,
    initialBackgroundLockLatency: initialBackgroundLockLatency,
    inactiveBehavior: inactiveBehavior,
  ));
}
124
likes
150
points
1.42k
downloads

Publisher

verified publishertomdev.co.uk

Weekly Downloads

A Flutter package for showing a lock screen on app open and app pause.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_app_lock