LoadingPage<T> constructor

LoadingPage<T>({
  1. required Function task,
  2. Function? onSuccess,
  3. dynamic onFail({
    1. required dynamic error,
    2. required MojoResult result,
    })?,
  4. String? image,
  5. String? text,
  6. bool pop = true,
  7. Widget? target,
})

Implementation

LoadingPage({
  required this.task,
  this.onSuccess,
  this.onFail,
  this.image,
  this.text,
  this.pop = true,
  this.target,
});