locker 1.0.2 copy "locker: ^1.0.2" to clipboard
locker: ^1.0.2 copied to clipboard

Locker is a Flutter library to prevent multiple executions of the same action, ideal for avoiding repeated taps.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add locker

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

dependencies:
  locker: ^1.0.2

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:locker/locker.dart';
1
likes
140
points
20
downloads

Publisher

verified publishersora.fukui.jp

Weekly Downloads

Locker is a Flutter library to prevent multiple executions of the same action, ideal for avoiding repeated taps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter, provider, uuid

More

Packages that depend on locker