Reference class
A reference to content that is elsewhere
Constructors
- Reference({required String text, required String link, String target = "_self"})
- Reference.external({required String text, required String link, String target = "_blank"})
- An external reference, that will be opened in a new tab by default
- Reference.internal({required String text, required String link, String target = "_self"})
- An internal reference, that will scroll the user to the content without reloading the page.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHtml(
) → String -
Returns an HTML representation of the element
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited