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,
}) =>
useParent(
(w) => w
..useAnimationBuilder(
animation: animation,
builder: (context, child) => builder(context, w),
),
);