NullableAnimationControllerRefAPI<TAnimationController extends AnimationController> extension

on
  • Ref<TAnimationController?>

Methods

bind(BuildContext context, TAnimationController? create(TickerProvider vsync), {void dispose(TAnimationController? controller)?, Object? key}) → TAnimationController?

Available on Ref<TAnimationController?>, provided by the NullableAnimationControllerRefAPI extension

Optionally binds the provided TAnimationController to the context.
bindLazy(BuildContext context, TAnimationController? create(TickerProvider vsync), {void dispose(TAnimationController? controller)?, Object? key}) → void

Available on Ref<TAnimationController?>, provided by the NullableAnimationControllerRefAPI extension

Same as bind but create is called lazily, i.e. only when the controller is requested for the first.