JJDataPage constructor

const JJDataPage({
  1. Key? key,
  2. String? url,
  3. Map<String, dynamic>? param,
  4. Widget empty(
    1. BuildContext context
    )?,
  5. Widget error(
    1. BuildContext context
    )?,
  6. dynamic toast(
    1. String msg
    )?,
  7. Widget loading(
    1. BuildContext context
    )?,
  8. Widget builder(
    1. BuildContext context,
    2. dynamic data
    )?,
  9. bool enableRetry = true,
})

Implementation

const JJDataPage( {
  Key? key,
  this.url,
  this.param,
  this.empty,
  this.error,
  this.toast,
  this.loading,
  this.builder,
  this.enableRetry = true
}) : super(key: key);