StateBuilder class

Encapsulates a builder function tied to a unique key, allowing widgets to rebuild reactively based on key-based updates.

Constructors

StateBuilder.new({required UniqueKey uniqueKey, required Widget build(dynamic)})
Creates a StateBuilder with the provided build function and uniqueKey.

Properties

build Widget Function(dynamic)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uniqueKey UniqueKey
final

Methods

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