Link
Overview
Links are used as navigational elements. They may appear on their own, within a sentence or paragraph, or directly following the content.
Widget API
Property | Description |
---|---|
url | The destination that this link leads to.
|
onTap | Called when the link is tapped, it also passes the url value.
|
enable | Whether the widget is enabled or not.
|
caption | A caption text to display instead of the url. If it's null, then the URL will be displayed.
|
fontSize | The size of glyphs (in logical pixels) to use when painting the text.
|
Example
Last updated