TerminiceComponent<T> class
abstract
A reusable custom component that runs against a configured Terminice.
Components are intentionally lightweight: they receive a TerminiceComponentContext, perform work, and return a value. There is no widget tree, registry, or lifecycle framework hidden behind this type.
Constructors
- TerminiceComponent()
-
Creates a component subclass.
const
-
TerminiceComponent.from(TerminiceComponentCallback<
T> run) -
Creates a component from a callback.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
TerminiceComponentContext context) → T -
Runs this component with the prepared
context. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited