itemBuilder property

IndexedItemBuilder itemBuilder
final

Builds your selectable widgets.

animatedValue allows to animate your widgets on selection change.

   itemBuilder: (index, animValue) => _YourItemWidget(
       name: yourModelList[index].name,
       borderColor: _colorTween1.transform(animValue),
       textColor: _colorTween2.transform(animValue),
       iconColor: _colorTween3.transform(animValue)
   ),

Implementation

final IndexedItemBuilder itemBuilder;