DurableAnimationTestingExtension extension

Lifecycle control extension for DurableAnimationController, exposed strictly for testing harnesses and internal framework bindings.

This extension is marked with @visibleForTesting and is hidden from package:blooming_flutter/blooming_flutter.dart. Import package:blooming_flutter/testing.dart to access these utilities in unit tests.

on
Annotations

Properties

view → Animation<double>

Available on DurableAnimationController, provided by the DurableAnimationTestingExtension extension

Returns the underlying raw view strictly for unit testing harnesses.
no setter

Methods

attachVsync(TickerProvider vsync) → void

Available on DurableAnimationController, provided by the DurableAnimationTestingExtension extension

Attaches a TickerProvider as an active vsync holder.
detachVsync(TickerProvider vsync) → bool

Available on DurableAnimationController, provided by the DurableAnimationTestingExtension extension

Detaches a TickerProvider from the active vsync holder pool.
drive<U>(Animatable<U> child) → Animation<U>

Available on DurableAnimationController, provided by the DurableAnimationTestingExtension extension

Drives an animatable using the raw view strictly for unit testing harnesses.
hibernate() → void

Available on DurableAnimationController, provided by the DurableAnimationTestingExtension extension

Hibernates the controller, stopping the active ticker and clearing vsync holders.
wake(TickerProvider vsync) → void

Available on DurableAnimationController, provided by the DurableAnimationTestingExtension extension

Wakes this controller by attaching vsync.