FastFormArrayItemBuilder<T> typedef

FastFormArrayItemBuilder<T> = Widget Function(UniqueKey key, int index, FastFormArrayState<T> field)

Signature for building a single array item.

The key should always be passed to the superclass constructor of the Widget that is returned from the builder to preserve the state across widget trees when array items are moved around. see https://medium.com/flutter/keys-what-are-they-good-for-13cb51742e7d

Implementation

typedef FastFormArrayItemBuilder<T> = Widget Function(
    UniqueKey key, int index, FastFormArrayState<T> field);