transitionBuilder property
Builder function for animating the suggestions box.
Example usage:
transitionBuilder: (context, animation, child) {
return FadeTransition(
opacity: CurvedAnimation(
parent: animationController,
curve: Curves.fastOutSlowIn,
),
child: child,
);
}
To disable the animation, simply return child
Defaults to a SizeTransition and AnimatedSize combination.
See also:
- animationDuration, which is the duration of the animation.
Implementation
final SuggestionsAnimationBuilder? transitionBuilder;