ListWidget<T> constructor

const ListWidget<T>({
  1. Key? key,
  2. required ItemCallback<T> itemBuilder,
  3. ItemCallback<T>? separatorBuilder,
  4. WidgetCallback? error,
  5. Widget? noData,
  6. required Widget loader,
})

Implementation

const ListWidget({
  Key? key,
  required this.itemBuilder,
  this.separatorBuilder,
  this.error,
  this.noData,
  required this.loader,
}) : super(key: key);