TinkRebuildScreen class
Many widgets are stateless but Hypi provides the ability to update their attributes When that happens, we must rebuild the screen for the changed attributes to show up If your widget handler is stateful just call setState locally, no need for a global rebuild unless it affects other parts of the UI It is in effect the same as setState in a stateful widget but does not incur any overhead unless the widget's attribute actually changes
- Implemented types
Constructors
- TinkRebuildScreen(dynamic fn())
Properties
-
asEvent
↔ TinkStateEvent<
TinkRebuildScreen> -
getter/setter pair
- asProvider ↔ bool
-
If true, this event will be kept and when asked and a more recent value isn't available, it will be used as the current value
getter/setter pairoverride
- fn → dynamic Function()
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key ↔ String
-
getter/setter pairoverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → TinkRebuildScreen
-
latefinal
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