flutter_policy_engine 1.1.0
flutter_policy_engine: ^1.1.0 copied to clipboard
A lightweight, extensible policy engine for Flutter enabling Attribute-Based Access Control (ABAC) and Role-Based Access Control (RBAC) with declarative rule definitions.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_policy_engine
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_policy_engine: ^1.1.0
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:flutter_policy_engine/flutter_policy_engine.dart';