access_gate 0.0.3
access_gate: ^0.0.3 copied to clipboard
Hide Flutter widgets behind feature flags, roles, permissions, and attribute-based access policies.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add access_gateWith Flutter:
$ flutter pub add access_gateThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
access_gate: ^0.0.3Alternatively, 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:access_gate/access_gate.dart';