InstantUIUpdater class

Manages instant UI updates without page reload

Constructors

InstantUIUpdater.new()

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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createAttributeUpdate(String selector, String attribute, String value) Map<String, dynamic>
Create an attribute update change
createElementReplace(String selector, String html) Map<String, dynamic>
Create an element replacement change
createFlutterWidgetUpdate(String widgetId, Map<String, dynamic> properties) Map<String, dynamic>
Create a Flutter widget update change
createInstantUpdateMessage(List<Map<String, dynamic>> changes) String
Send instant update signal to connected browsers
createStyleUpdate(String selector, Map<String, String> style) Map<String, dynamic>
Create a style update change
createTextUpdate(String selector, String text) Map<String, dynamic>
Create a text update change
injectInstantUpdateScript(String html) String
Inject instant update script into HTML