is_nth_run 1.0.0 copy "is_nth_run: ^1.0.0" to clipboard
is_nth_run: ^1.0.0 copied to clipboard

A package to check if it is the n-th time the app runs.

is_nth_run #

Getting Started #

To use this plugin, add is_nth_run as a dependency in your pubspec.yaml file.

Usage #

Import is_nth_run.dart:

import 'package:is_nth_run/is_nth_run.dart';

To check if this is the n-th time the app is run call:

bool nthRun = await IsNthRun.isNthRun();

To reset the counter call:

await IsNthRun.reset();
1
likes
140
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

A package to check if it is the n-th time the app runs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on is_nth_run