RichElement class

This returns a RichElement which is used in HyperLinkText Widget to define content.

Constructors

Constructor for creating a RichElement of hyperlink type.
RichElement.text({required String text, TextStyle? style})
Constructor for creating a RichElement of text type.

Properties

element RichElement
Returns the whole RichElement object
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
Returns the style for the current element.
no setter
text String
Returns text content for the current element.
no setter
url String?
Returns url string for the current element only if the element is a hyperlink.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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