circle_access_lock 1.0.1 copy "circle_access_lock: ^1.0.1" to clipboard
circle_access_lock: ^1.0.1 copied to clipboard

outdated

Lock your app with a scan to access by a second device (mainly for tablets and desktops) powered by Circle.

Circle Access Lock #

A Flutter package to handle access lock using a Circle Technology. This package provides a simple way to present a Lock Screen to the user and control access.

Features #

  • Easy integration with your Flutter app
  • Configurable time constraints
  • Enable/disable the access lock

Installation #

To use the Circle Access Lock package, add it as a dependency in your pubspec.yaml file:

dependencies:
circle_access_lock: ^1.0.0

Then, run flutter pub get to download the package.

Usage #

  1. Import the package in your Dart file:
import 'package:circle_access_lock/circle_access_lock.dart';
  1. Initialize the CircleAccessLock in your widget:
import 'package:flutter/material.dart';
import 'package:circle_access_lock/circle_access_lock.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final navigatorKey = GlobalKey<NavigatorState>();
  final circleAccessLock = CircleAccessLock(navigatorKey: navigatorKey);

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      navigatorKey: navigatorKey,
      home: Scaffold(
        body: Center(
          child: Text('Testing'),
          ),
        ),
      ),
    );
  }
}

  1. Use the enable and disable methods to control the access lock:

circleAccessLock.enable();
circleAccessLock.disable();

License #

This project is licensed under the MIT License.

0
likes
0
points
89
downloads

Publisher

verified publishercirclesecurity.ai

Weekly Downloads

Lock your app with a scan to access by a second device (mainly for tablets and desktops) powered by Circle.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, shared_preferences, webview_flutter

More

Packages that depend on circle_access_lock