AnimatedBuilder constructor

const AnimatedBuilder({
  1. Key? key,
  2. required Listenable animation,
  3. required TransitionBuilder builder,
  4. Widget? child,
})

Creates an animated builder.

The animation and builder arguments are required.

Implementation

const AnimatedBuilder({
  super.key,
  required Listenable animation,
  required super.builder,
  super.child,
}) : super(listenable: animation);