QueryView<T, Q> constructor

const QueryView<T, Q>({
  1. Key? key,
  2. required QueryController<T, Q> controller,
  3. required Widget builder(
    1. BuildContext context,
    2. T data
    ),
  4. Widget? loading,
  5. Widget error(
    1. BuildContext context,
    2. String error
    )?,
  6. bool showEmptyPlaceholder = true,
  7. String emptyPlaceholderMessage = "No hay ningĂșn registro",
  8. Widget? emptyPlaceholder,
})

Implementation

const QueryView({
  super.key,
  required this.controller,
  required this.builder,
  this.loading,
  this.error,
  this.showEmptyPlaceholder = true,
  this.emptyPlaceholderMessage = "No hay ningĂșn registro",
  this.emptyPlaceholder,
});