destination_lock 0.0.2+3 destination_lock: ^0.0.2+3 copied to clipboard
Lock/unlock destinations that your application can reach
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add destination_lock
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
destination_lock: ^0.0.2+3
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:destination_lock/destination_lock.dart';