PopScopeLoader constructor

const PopScopeLoader({
  1. Key? key,
  2. required Widget child,
  3. PopScopeLoaderInvokedCallback? onPopInvoked,
  4. bool canPop = true,
  5. bool allowPopWhenLoading = false,
  6. bool dismissProgressLoaderWhenPopping = false,
})

Implementation

const PopScopeLoader({
  Key? key,
  required this.child,
  this.onPopInvoked,
  this.canPop = true,
  this.allowPopWhenLoading = false,
  this.dismissProgressLoaderWhenPopping = false,
}) : assert(!dismissProgressLoaderWhenPopping || allowPopWhenLoading);