CurtainController class
A specialized logic controller that manages and broadcasts synchronization state changes for organic, custom-painted cloth simulations.
It acts as the core communication bridge connecting manual touch-drag gesture handlers to low-level programmatic linear animation timers.
- Inheritance
-
- Object
- ChangeNotifier
- CurtainController
Constructors
- CurtainController()
-
Creates and initializes a clean, decoupled instance of a CurtainController
tracking progress at an absolute closed starting value of
0.0.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- isAnimating → bool
-
Returns
trueif an internal animation transition timeline sequence is currently calculating frame ticks.no setter - progress → double
-
The current deployment percentage tracking index of the morphing fabric fold.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
attachAnimationController(
AnimationController controller, VoidCallback onAnimateOut) → void - System Architecture Bridge: Binds structural animation state parameters, tickers, and layout microtasks straight from the parent state tree.
-
close(
) → void - Programmatically returns the curtain overlay back to its default closed position, hiding the underlay content surface.
-
detach(
) → void - System Architecture Bridge: Safely disengages active listeners and references to protect against memory leaks during widget unmounting loops.
-
dispose(
) → void -
Discards any resources used by the object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
reveal(
) → void - Programmatically opens the curtain overlay using a smooth, fluid fabric simulation wave curve.
-
setAnimating(
bool animating) → void - Toggles operational state parameters to avoid gesture evaluation conflicts during rapid interaction loops.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateProgress(
double value) → void - Manually adjusts the underlying fabric displacement timeline coordinates.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited