chore: format code
This commit is contained in:
parent
e64a0fc4fd
commit
97f8d95f2d
|
@ -399,7 +399,9 @@ TextSpan _linkify({
|
|||
// add the link
|
||||
spans.add(
|
||||
TextSpan(
|
||||
text:( mapReplace?[link.value??'']?.isNotEmpty??false) ? (mapReplace?[link.value??''] ??'' ): link.value,
|
||||
text: (mapReplace?[link.value ?? '']?.isNotEmpty ?? false)
|
||||
? (mapReplace?[link.value ?? ''] ?? '')
|
||||
: link.value,
|
||||
style: customLinkStyles?[link.type] ?? linkStyle,
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () {
|
||||
|
@ -407,10 +409,8 @@ TextSpan _linkify({
|
|||
},
|
||||
),
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return TextSpan(children: spans);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue