QueryView<T, Q> constructor
const
QueryView<T, Q> ({
- Key? key,
- required QueryController<
T, Q> controller, - required Widget builder(
- BuildContext context,
- T data
- Widget? loading,
- Widget error(
- BuildContext context,
- String error
- bool showEmptyPlaceholder = true,
- String emptyPlaceholderMessage = "No hay ningĂșn registro",
- 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,
});