ContextAccessGate constructor

const ContextAccessGate({
  1. required AccessContext context,
  2. required ContextAccessCondition allow,
  3. Widget? child,
  4. Widget? fallback,
  5. Widget? loading,
  6. ContextAccessBuilder? builder,
  7. VoidCallback? onAllow,
  8. VoidCallback? onDeny,
  9. void onError(
    1. Object error
    )?,
  10. Key? key,
})

Implementation

const ContextAccessGate({
  required this.context,
  required this.allow,
  this.child,
  this.fallback,
  this.loading,
  this.builder,
  this.onAllow,
  this.onDeny,
  this.onError,
  super.key,
});