IndexedValueBuilder<T> typedef Null safety

IndexedValueBuilder<T> = T Function(BuildContext context, int index)

Signature for a function that creates a typed value for a given index, e.g., in a timeline tile builder.

Used by TimelineTileBuilder that use lazily-generated typed value.

Implementation

typedef IndexedValueBuilder<T> = T Function(BuildContext context, int index);