JoltSetupContext<T extends SetupWidget<T> > class
- Inheritance
-
- Object
- ReactiveNode
- EffectScopeReactiveNode
- EffectScopeImpl
- JoltSetupContext
Constructors
-
JoltSetupContext(SetupWidgetElement<
SetupWidget> element)
Properties
-
context
→ SetupBuildContext<
T> -
no setter
- deps ↔ Link?
-
First dependency link in the chain.
getter/setter pairinherited
- depsTail ↔ Link?
-
Last dependency link in the chain.
getter/setter pairinherited
-
element
→ SetupWidgetElement<
SetupWidget> -
final
- flags ↔ int
-
Reactive flags for this node.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
no setterinherited
- renderer ↔ Effect?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setupBuilder
↔ SetupFunction<
T> ? -
getter/setter pair
- subs ↔ Link?
-
First subscriber link in the chain.
getter/setter pairinherited
- subsTail ↔ Link?
-
Last subscriber link in the chain.
getter/setter pairinherited
Methods
-
dispose(
) → void -
Disposes this node and cleans up resources.
inherited
-
doCleanup(
) → void -
Executes all registered cleanup functions and clears the cleanup list.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCleanUp(
Disposer fn) → void -
Registers a cleanup function to be called when this effect is disposed or re-run.
inherited
-
onDispose(
) → void -
Called during the disposal process to perform custom cleanup.
override
-
run<
U> (U fn()) → U -
Runs a function within this scope's context.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
current
↔ JoltSetupContext<
SetupWidget> ? -
getter/setter pair
Static Methods
-
setActiveContext(
[JoltSetupContext< SetupWidget> ? context]) → JoltSetupContext<SetupWidget> ?