ContextAccessGate constructor
const
ContextAccessGate({
- required AccessContext context,
- required ContextAccessCondition allow,
- Widget? child,
- Widget? fallback,
- Widget? loading,
- ContextAccessBuilder? builder,
- VoidCallback? onAllow,
- VoidCallback? onDeny,
- void onError(
- Object error
- 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,
});