v1.0.1hash_at_links_detector
Detector de links com hash e @ Texto personalizado para detectar '#'_ '@'_ 'links' suporte a vários idiomas
21Curtidas 39Downloads em 30 dias70Pontos Pub
Plataformas indisponíveis
Detector de links com hash e @ Texto personalizado para detectar '#'_ '@'_ 'links' suporte a vários idiomas
{"sdk":"flutter"}{"sdk":"flutter"}Texto original em inglês. Visite o GitHub para a versão atual.
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");
},
),