useAnimated<T> method
void
useAnimated<T>({})
Implementation
void useAnimated<T>({
Key? key,
required Widget Function(Niku niku, T value) builder,
required T value,
Duration duration = const Duration(milliseconds: 200),
Curve curve = Curves.linear,
}) {
_add(
(w) => NikuAnimated<T>(
builder: builder,
value: value,
duration: duration,
curve: curve,
child: w,
),
);
}