NullableAnimationControllerRefAPI<TAnimationController extends AnimationController> extension
- on
-
- Ref<
TAnimationController?>
- Ref<
Methods
-
bind(
BuildContext context, TAnimationController? create(TickerProvider vsync), {void dispose(TAnimationController? controller)?, Object? key}) → TAnimationController? -
Available on Ref<
Optionally binds the providedTAnimationController?> , provided by the NullableAnimationControllerRefAPI extensionTAnimationController
to thecontext
. -
bindLazy(
BuildContext context, TAnimationController? create(TickerProvider vsync), {void dispose(TAnimationController? controller)?, Object? key}) → void -
Available on Ref<
Same as bind butTAnimationController?> , provided by the NullableAnimationControllerRefAPI extensioncreate
is called lazily, i.e. only when the controller is requested for the first.