auto_logout 0.0.1 copy "auto_logout: ^0.0.1" to clipboard
auto_logout: ^0.0.1 copied to clipboard

A simple tool that allows you to log out users after a certain period of inactivity or if the app is sent to the background for a certain amount of time

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add auto_logout

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  auto_logout: ^0.0.1

Alternatively, 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:auto_logout/auto_logout.dart';
2
likes
140
points
41
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A simple tool that allows you to log out users after a certain period of inactivity or if the app is sent to the background for a certain amount of time

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_secure_storage

More

Packages that depend on auto_logout