SemanticsUpdateBuilder class abstract

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.
factory

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

build() SemanticsUpdate
Creates a SemanticsUpdate object that encapsulates the updates recorded by this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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 identifier, 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, required String tooltip, required TextDirection? textDirection, required Float64List transform, required Int32List childrenInTraversalOrder, required Int32List childrenInHitTestOrder, required Int32List additionalActions, int headingLevel = 0}) → void
Update the information associated with the node with the given id.

Operators

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