builder property

Widget Function(BuildContext context, AnimatorState<T> animatorState, Widget? child) builder
final

The build strategy currently used for one Tween. Animator widget rebuilds itself every time the animation changes value.

The builder is provided with an Animation object.

Implementation

final Widget Function(
  BuildContext context,
  AnimatorState<T> animatorState,
  Widget? child,
) builder;