locker 1.0.0 copy "locker: ^1.0.0" to clipboard
locker: ^1.0.0 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 Dart:

 $ dart pub add locker

With Flutter:

 $ flutter pub add locker

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

dependencies:
  locker: ^1.0.0

Alternatively, your editor might support dart pub get or 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
0
points
32
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

License

unknown (license)

Dependencies

flutter, provider, uuid

More

Packages that depend on locker