ListWheelChildBuilderDelegate constructor Null safety

ListWheelChildBuilderDelegate(
  1. {required NullableIndexedWidgetBuilder builder,
  2. int? childCount}
)

Constructs the delegate from a builder callback.

Implementation

ListWheelChildBuilderDelegate({
  required this.builder,
  this.childCount,
}) : assert(builder != null);