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

hash at links detector Custom text to detect '#'_'@'_'links' support many 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");
                    }
                  },
                   onUrlClicked: (open) {
                    // launch  url
                    print("opened $open");
                  },
                  onAtClick: (at) {
                    print("at is  $at");
                  },
                ),
21
likes
90
pub points
64%
popularity

Publisher

unverified uploader

hash at links detector Custom text to detect '#'_'@'_'links' support many languages

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on hash_at_links_detector