XComponent<T> class
Creates Component for T attribut
- Inheritance
- Implementers
Constructors
-
XComponent({required T x, required Widget builder(BuildContext, XComponent<
T> )})
Properties
-
builder
→ Widget Function(BuildContext, XComponent<
T> ) -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mounted → bool
-
Whether this object widget State is currently in a tree.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vsync → TickerProvider
-
the TickerProvider for the current context.
no setterinherited
- x ↔ T
-
Returns the attribut value
getter/setter pair
Methods
-
deactivate(
) → void -
Called when this object widget is removed from the tree.
inherited
-
didChangeDependencies(
) → void -
This method is also called immediately after initState.
inherited
-
didUpdateWidget(
covariant Widget oldWidget) → void -
Called whenever this object widget configuration changes.
inherited
-
dispose(
) → void -
Called when this object widget is removed from the tree permanently.
inherited
-
initState(
) → void -
The framework will call this method exactly once for each State object it creates.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
BuildContext context) → Widget -
Builds Component widget.
override
-
setState(
[VoidCallback? fn]) → void -
Notifys component to refresh widget.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator ~(
) → Widget -
Returns Component widget.
inherited