Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributenativeapi

Dart bindings to native system APIs across desktop and mobile

pub.devRemove
permission_policy

Role-based access control and hierarchical permissions management system for Flutter.

pub.devRemove
ScoresHealth85 (best)61
Maintenance98 (best)54
Quality100 (best)97
Popularity70 (best)19
Community46 (best)41
Compatibility100100
UsageDownloads (30 days)87k (best)215
Likes36 (best)26
Pub points160 / 160160 / 160
GitHub stars189 (best)10
MaintenanceLatest release0.6.1, 7 days ago (best)3.2.1, 4 months ago
Major versions in 12 months0 (best)1
Contributors2 (best)1
Publisherleanflutter.devnylo.dev
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAndroid, iOS, macOS
WASM-readyYesNo
KindFFI (native library)Flutter widgets
Code generationNoNo
Direct dependencies21 (best)
LicenseMITMIT
Setup effortMediumLow
JudgementStrengths
  • Cross‑platform support (Android, iOS, Windows, macOS, Linux)
  • Unified API surface across platforms
  • Works with both Flutter and plain Dart
  • Supports both permission and role inheritance with cycle detection.
  • Includes customizable UI widgets (PermissionGuard, RoleSelector).
  • Pluggable storage backend interface.
Weaknesses
  • Work in progress, breaking changes in recent releases
  • Requires Flutter 3.50 / Dart 3.14 for full functionality
  • Experimental runNativeApp() still needs older Dart VM APIs
  • Completely rewritten in v3 with no automatic migration from v2.
  • Device-level roles by default; user-identity mapping requires custom storage implementation.
WarningsNoneNone
nativeapi vs permission_policy: which Flutter package should you use? | pubscout