ForEachNode<T> constructor

const ForEachNode<T>(
  1. List<T> items(),
  2. BloomNode builder(
    1. T item
    ), {
  3. String keyFn(
    1. T item
    )?,
  4. String? hotReloadScopeId,
})

Creates a list rendering descriptor with items, builder, and optional keyFn.

Implementation

const ForEachNode(this.items, this.builder,
    {this.keyFn, this.hotReloadScopeId});