ArgsLoaderWidget<T> constructor

ArgsLoaderWidget<T>({
  1. Key? key,
  2. required Future<T?> loader(),
  3. required dynamic builder(
    1. BuildContext context,
    2. T args
    ),
  4. dynamic errorBuilder(
    1. BuildContext context,
    2. dynamic error
    )?,
  5. dynamic progressBuilder(
    1. BuildContext context
    )?,
  6. dynamic notFoundBuilder(
    1. BuildContext context
    )?,
  7. required bool ignoreModalRouteArgument,
  8. T? initialData,
})

Implementation

ArgsLoaderWidget({
  Key? key,
  required this.loader,
  required this.builder,
  this.errorBuilder,
  this.progressBuilder,
  this.notFoundBuilder,
  required this.ignoreModalRouteArgument,
  this.initialData,
}) : super(key: key);