InlineSpanSemanticsInformation class
The textual and semantic label information for an InlineSpan.
For PlaceholderSpans, InlineSpanSemanticsInformation.placeholder is used by default.
See also:
- Annotations
Constructors
-
InlineSpanSemanticsInformation(String text, {bool isPlaceholder = false, String? semanticsLabel, List<
StringAttribute> stringAttributes = const <ui.StringAttribute>[], GestureRecognizer? recognizer}) -
Constructs an object that holds the text and semantics label values of an
InlineSpan.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticsLabel → String?
-
The semanticsLabel, if any.
final
-
stringAttributes
→ List<
StringAttribute> -
The string attributes attached to this semantics information
final
- text → String
-
The text value, if any. For PlaceholderSpans, this will be the unicode
placeholder value.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- placeholder → const InlineSpanSemanticsInformation
- The text info for a PlaceholderSpan.