hash_at_links_detector 0.0.2 copy "hash_at_links_detector: ^0.0.2" to clipboard
hash_at_links_detector: ^0.0.2 copied to clipboard

outdated

A new Flutter package. custom text to detect '#'_'@'_'links' support may languages

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");
                    }
                  },
                  onOpen: (open) {
                    // launch  url
                    print("opened $open");
                  },
                  onAtClick: (at) {
                    print("at is  $at");
                  },
                ),
21
likes
0
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package. custom text to detect '#'_'@'_'links' support may languages

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on hash_at_links_detector