TransplantingQuiltFaucet<T> class
A wrapper class for managing quilt faucet transplantation on style changes.
Ensures seamless updates to QuiltFaucet when CarpetStyle recomputes, preserving buffer state. Used internally by Carpet to handle responsive reconfiguration without data loss.
Constructors
-
TransplantingQuiltFaucet({required QuiltTileFaucet<
T> tileFaucet, required QuiltTileBuilder<T> tileBuilder}) - Constructs a transplanting faucet with tile source and builder.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rawFaucet
→ QuiltFaucet<
T> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tileBuilder
→ QuiltTileBuilder<
T> -
final
-
tileFaucet
→ QuiltTileFaucet<
T> -
final
Methods
-
call(
{required VoidCallback onUpdate, required CarpetStyle style}) → QuiltFaucet< T> - Returns or creates a QuiltFaucet with the given style and update handler.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited