useAnimationBuilder method
void
useAnimationBuilder({
- required Widget builder(
- BuildContext context,
- Widget child
- required AnimationController animation,
Implementation
void useAnimationBuilder({
required Widget Function(BuildContext context, Widget child) builder,
required AnimationController animation,
}) =>
_add(
(w) => AnimatedBuilder(
animation: animation,
builder: (context, child) => builder(context, w),
child: w,
),
);