casl_flutter 1.0.0 copy "casl_flutter: ^1.0.0" to clipboard
casl_flutter: ^1.0.0 copied to clipboard

Flutter bindings for casl: an ability in the widget tree, a Can widget, and context.can(...) — so a screen draws what a user may actually do.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add casl_flutter

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

dependencies:
  casl_flutter: ^1.0.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:casl_flutter/casl_flutter.dart';
2
likes
160
points
162
downloads

Documentation

API reference

Publisher

verified publisherteispace.com

Weekly Downloads

Flutter bindings for casl: an ability in the widget tree, a Can widget, and context.can(...) — so a screen draws what a user may actually do.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#authorization #permissions #security #casl #rbac

License

MIT (license)

Dependencies

casl, flutter

More

Packages that depend on casl_flutter