cardBuilder property

Widget Function(BuildContext, T, T)? cardBuilder
final

Specialized builder for card mode only, of type Widget Function(BuildContext, T, T)?, receiving context, the option, and current selected value. It enables visual feedback such as borders, colors, or icons for the active selection; if null, falls back to itemBuilder. This field enhances interactivity in CardCarousel within the ArcaneFieldWrapper, ideal for touch-based selections.

Implementation

final Widget Function(BuildContext, T, T)? cardBuilder;