previewBuilder property

Widget Function(T state, AnimationController? controller) previewBuilder
final

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;