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