Last updated:
0 purchases
hash at links detector
hash_at_links_detector #
You can use CustomSmartText to detect # @ links text.
CustomSmartText(
text:
"@flutter test @hatem ragap #flutter #Dart \n https://pub.dev \n hi hello \n h hello \n s #فلاتر\n @حاتم",
atStyle: TextStyle(color: Colors.red),
disableAt: false,
onTagClick: (tag) {
if (tag == "Dart") {
print("Dart is $tag");
} else {
print("tag is $tag");
}
},
onUrlClicked: (open) {
// launch url
print("opened $open");
},
onAtClick: (at) {
print("at is $at");
},
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.