access_gate
Hide Flutter widgets behind feature flags, roles, permissions, and attribute-based access policies.
What this package is like to depend on
Last release 1 months ago
09 Jul 2026
Too new to tell
only 1 release windows
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
1 months old
5 releases · first in 2026
5 releases in the last 12 months
see the full history below
Release timeline
5 releases · Jul 2026 to Jul 2026Releases
latest 5-
0.0.509 Jul 2026Release notes
Open source →- Added structural matching, equality, hashing, and defensive copies for nested JSON-compatible feature values and attributes.
- Changed malformed context and policy JSON to consistently throw
FormatException. - Prevented allowed decisions from carrying denial reasons and aligned
AccessGuardinput validation with the other widgets. - Documented
AccessControllerownership and disposal expectations. - Expanded compatibility to Dart 3.0 and Flutter 3.10, backed by a CI compatibility matrix.
-
0.0.408 Jul 2026Release notes
Open source →- Added
AccessContext.mergeandAccessContext.combinefor building one context from multiple app state sources. - Added convenience policy and gate constructors for any-of features, roles, permissions, exact feature values, and exact attributes, including typed-key variants.
- Added optional policy labels, labeled denial reasons, and lightweight diagnostics through value equality,
hashCode, andtoStringsupport. - Rebuilt the example app as an interactive controller-driven demo with denied states, disabled UI, and JSON previews.
- Expanded consumer docs, provider recipes, loading guidance, testing guidance, and Agent Skills-compatible references.
- Added
-
0.0.308 Jul 2026Release notes
Open source →- Changed
AccessHiddento render as a zero-size widget so denied gates remain safe inside multi-child layouts. - Added render-order regression coverage for denied gates in multi-child layouts and for the example app.
- Added consumer-oriented usage documentation and Agent Skills-compatible Codex and Claude Code guidance.
- Changed
-
0.0.208 Jul 2026Release notes
Open source →- Added policy composition with
AccessPolicy.allOf,AccessPolicy.anyOf, andAccessPolicy.not. - Added structured denial reasons on
AccessDecision. - Added
AccessGuardfor page-level and route-body access decisions. - Added JSON helpers for
AccessContextand serializableAccessPolicyvalues. - Expanded docs and the example app.
- Added policy composition with
-
0.0.108 Jul 2026Release notes
Open source →- Initial release with feature flag, RBAC, permission, and ABAC widget gates.
- Added
AccessScope,AccessController,AccessPolicy, andAccessContext. - Added typed key helpers for enum-backed features, roles, permissions, and attributes.
- Added
AccessHidden, a fallback for denied gates.