ui_guard 1.0.3 copy "ui_guard: ^1.0.3" to clipboard
ui_guard: ^1.0.3 copied to clipboard

Easily manage role, permission, and condition-based access control in Flutter UIs — entirely in Dart.

Changelog #

1.0.3 #

Added #

  • TimedAccessGuard: show or hide UI elements based on a configurable time window
  • Supports automatic refresh with customizable check intervals
  • Optional callback to get remaining time updates
  • Useful for limited-time offers, maintenance messages, and beta access banners

Improved #

  • Updated README with TimedAccessGuard usage examples and best practices

1.0.2 #

Added #

  • CombinedGuard: combine roles, permissions, and custom runtime conditions
  • GuardConfig.developerOverrideEnabled: override all restrictions during development

Improved #

  • Updated README with usage examples, GitHub badge, and contribution guidelines
  • Added gallery and use-case section for better documentation

1.0.0 #

🎉 Initial Release #

  • Role-based UI control for Flutter
  • Includes:
    • Guard: manages current user roles
    • AccessGuard: guard entire screens/widgets by role
    • RoleBasedView: show/hide individual widgets
  • Stateless, pure Dart implementation
  • Example app included
9
likes
160
points
60
downloads

Publisher

verified publishertanvirdev.com

Weekly Downloads

Easily manage role, permission, and condition-based access control in Flutter UIs — entirely in Dart.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #plugin #user #role-based #access-control

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on ui_guard