ForBLoCWidget<T> constructor

const ForBLoCWidget<T>({
  1. Key? key,
  2. required LiveData<List<T>> liveData,
  3. required Widget listBuilder(
    1. BuildContext context,
    2. List<ItemViewHolder<T>> items
    ),
  4. required Widget itemBuilder(
    1. BuildContext context,
    2. T value,
    3. int index
    ),
  5. required Widget emptyBuilder(
    1. BuildContext context,
    2. List<T> value
    ),
})

Implementation

const ForBLoCWidget({
  Key? key,
  required this.liveData,
  required this.listBuilder,
  required this.itemBuilder,
  required this.emptyBuilder,
}) : super(key: key);