Guardo constructor

const Guardo({
  1. Key? key,
  2. required Widget child,
  3. Widget? loadingWidget,
  4. Widget? failedWidget,
  5. LockScreenBuilder? lockScreen,
  6. GuardoConfig? config,
  7. GuardoService? guardoService,
  8. void onAuthenticationChanged(
    1. bool isAuthenticated
    )?,
  9. bool autoRetry = true,
  10. bool enabled = true,
})

Implementation

const Guardo({
  super.key,
  required this.child,
  this.loadingWidget,
  this.failedWidget,
  this.lockScreen,
  this.config,
  this.guardoService,
  this.onAuthenticationChanged,
  this.autoRetry = true,
  this.enabled = true,
});