docs: add pr and issue hrefs
This commit is contained in:
parent
af05a7887d
commit
1f9bd54c4f
|
@ -49,11 +49,11 @@ Container(
|
|||
| `textStyle` | `null` | Style applied to the text |
|
||||
| `linkStyle` | `null` | Style applied to the linkified text, defaults to the textStyle |
|
||||
| `linkTypes` | `LinkType.url` | A list of `LinkTypes` to be linkified in the text either a hashtag,email or url |
|
||||
| `onTap` | `null` | function with a `Link` called when a link is tapped |
|
||||
| `onTap` | `null` | function with a `Link` paramater called when a link is pressed |
|
||||
|
||||
# Contributions
|
||||
|
||||
Feel free to contribute to this project.
|
||||
|
||||
If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
|
||||
If you fixed a bug or implemented a feature, please send a pull request.
|
||||
If you find a bug or want a feature, but don't know how to fix/implement it, please fill an [issue][issue].
|
||||
If you fixed a bug or implemented a feature, please send a [pull request][pr].
|
||||
|
|
|
@ -129,7 +129,7 @@ class LinkifyText extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Text.rich(
|
||||
linkify(
|
||||
_linkify(
|
||||
text: text,
|
||||
linkStyle: linkStyle,
|
||||
onTap: onTap,
|
||||
|
@ -151,7 +151,7 @@ class LinkifyText extends StatelessWidget {
|
|||
}
|
||||
}
|
||||
|
||||
TextSpan linkify({
|
||||
TextSpan _linkify({
|
||||
String text = '',
|
||||
TextStyle? linkStyle,
|
||||
List<LinkType>? linkTypes,
|
||||
|
|
Loading…
Reference in New Issue