v1.0.1hash_at_links_detector
해시 및 링크 탐지기 사용자 정의 텍스트로 '#'_ '@'_ '링크' 감지 가능 다양한 언어 지원
21좋아요 3930일 다운로드70Pub 점수
플랫폼 정보 없음
해시 및 링크 탐지기 사용자 정의 텍스트로 '#'_ '@'_ '링크' 감지 가능 다양한 언어 지원
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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");
},
),