InlineSpanSemanticsInformation class

The textual and semantic label information for an InlineSpan.

For PlaceholderSpans, InlineSpanSemanticsInformation.placeholder is used by default.

See also:

Annotations
  • @immutable

Constructors

InlineSpanSemanticsInformation(String text, { bool isPlaceholder: false, String semanticsLabel, GestureRecognizer recognizer })
Constructs an object that holds the text and sematnics label values of an InlineSpan. [...]
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
isPlaceholder bool
Whether this is for a placeholder span.
final
recognizer GestureRecognizer
The gesture recognizer, if any, for this span.
final
requiresOwnNode bool
True if this configuration should get its own semantics node. [...]
final
semanticsLabel String
The semanticsLabel, if any.
final
text String
The text value, if any. For PlaceholderSpans, this will be the unicode placeholder value.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override

Constants

placeholder → const InlineSpanSemanticsInformation
The text info for a PlaceholderSpan.
const InlineSpanSemanticsInformation('', isPlaceholder: true)