FLUTTER ECOSYSTEM

hatemragab/hash_at_links_detector

해시 및 링크 탐지기 사용자 정의 텍스트로 '#'_ '@'_ '링크' 감지 가능 다양한 언어 지원

hash_at_links_detector 프로젝트 이미지
Stars
3
Forks
1
최근 푸시(UTC)
2022. 8. 13.
프로젝트 상태
활성
Hatem Ragab GitHub avatar
GITHUB User

Hatem Ragab ↗

node js & flutter developer

EnvatoGiza Egypt
언어C++CMakeDartHTMLCSwiftKotlinObjective-C

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

hash_at_links_detector

https://user-images.githubusercontent.com/37384769/184183782-3460b254-2cef-4404-8393-59b65fd8c9fc.png

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");
                  },
                ),