Each<T> constructor

const Each<T>({
  1. required Iterable<T> items,
  2. required Widget builder(
    1. T item,
    2. int index
    ),
  3. int heightOf(
    1. T item,
    2. int index
    )?,
  4. bool where(
    1. T item,
    2. int index
    )?,
  5. int spacing = 0,
})

Implementation

const Each({
  required this.items,
  required this.builder,
  this.heightOf,
  this.where,
  this.spacing = 0,
});