flutter_policy_engine 1.0.1 copy "flutter_policy_engine: ^1.0.1" to clipboard
flutter_policy_engine: ^1.0.1 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.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_policy_engine_example/policy_engine_demo.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Policy Engine Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const PolicyEngineDemo(),
    );
  }
}
0
likes
155
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight, extensible policy engine for Flutter enabling Attribute-Based Access Control (ABAC) and Role-Based Access Control (RBAC) with declarative rule definitions.

Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #policy #engine #authorization

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

collection, flutter, meta

More

Packages that depend on flutter_policy_engine