AnimatorRebuilder<T> constructor

AnimatorRebuilder<T>({
  1. Key? key,
  2. required AnimatorKey<T> observe(),
  3. required Widget builder(
    1. BuildContext context,
    2. AnimatorKey animatorKey,
    3. Widget? child
    ),
  4. Widget? child,
})

Widget used to subscribe to a AnimatorKey and rebuild in sync with the Animator widget associated with the AnimatorKey

Implementation

AnimatorRebuilder({
  Key? key,
  required this.observe,
  required this.builder,
  this.child,
}) : super(key: key);