SemanticsUpdateBuilder class Null safety

An object that creates SemanticsUpdate objects.

Once created, the SemanticsUpdate objects can be passed to PlatformDispatcher.updateSemantics to update the semantics conveyed to the user.

Constructors

SemanticsUpdateBuilder()
Creates an empty SemanticsUpdateBuilder object.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

build() SemanticsUpdate
Creates a SemanticsUpdate object that encapsulates the updates recorded by this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateCustomAction({required int id, String? label, String? hint, int overrideId = -1}) → void
Update the custom semantics action associated with the given id.
updateNode({required int id, required int flags, required int actions, required int maxValueLength, required int currentValueLength, required int textSelectionBase, required int textSelectionExtent, required int platformViewId, required int scrollChildren, required int scrollIndex, required double scrollPosition, required double scrollExtentMax, required double scrollExtentMin, required double elevation, required double thickness, required Rect rect, required String label, required List<StringAttribute> labelAttributes, required String value, required List<StringAttribute> valueAttributes, required String increasedValue, required List<StringAttribute> increasedValueAttributes, required String decreasedValue, required List<StringAttribute> decreasedValueAttributes, required String hint, required List<StringAttribute> hintAttributes, String? tooltip, TextDirection? textDirection, required Float64List transform, required Int32List childrenInTraversalOrder, required Int32List childrenInHitTestOrder, required Int32List additionalActions}) → void
Update the information associated with the node with the given id.

Operators

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