Collection.builder constructor

const Collection.builder({
  1. Key? key,
  2. required IndexedWidgetBuilder? builder,
  3. int? childCount,
})

Implementation

const Collection.builder({super.key, required this.builder, this.childCount})
    : children = const [],
      customBuilder = false;