builder property

Widget Function(BuildContext, Object?, Widget?) builder
final

Called every time the animation value changes.

The current animation value is passed to the builder along with the child. The builder should build a Widget based on the current animation value and incorporate the child into it, if it is non-null.

Implementation

final Widget Function(BuildContext, Object?, Widget?) builder;