previewBuilder property
Builder function for the preview widget. Parameters:
- state: The current component state
- controller: Optional animation controller for animated borders
Implementation
final Widget Function(T state, AnimationController? controller) previewBuilder;