RoleGate constructor

const RoleGate({
  1. required String role,
  2. required Widget child,
  3. Widget? fallback,
  4. Widget? loading,
  5. Key? key,
})

Implementation

const RoleGate({
  required this.role,
  required this.child,
  this.fallback,
  this.loading,
  super.key,
});