LinkAttribute class

Attribute that turns the spanned text into a hyperlink based on some URI.

Inheritance

Constructors

LinkAttribute(String uri)
Create a link attribute with a destination uri.
const

Properties

expandRules SpanExpandRules
Rules that determine how spans with this attribute grow when insertions happend at their boundaries.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
uri String
Uri destination of the link.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(BuildContext context) TextAttributeValue
Returns a text attribute value that can depend on context.
override
toString() String
A string representation of this object.
override

Operators

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