{"repo":"fayeed/flutter_parsed_text","free":true,"listed":false,"github":"https://github.com/fayeed/flutter_parsed_text","clone":"git clone https://github.com/fayeed/flutter_parsed_text.git","description":"A Flutter package to parse text and make them into linkified text widget","language":"Dart","stars":221,"topics":["flutter","mentionsedittext","hastags","linkify-text","parsedtext"],"license":"MIT","category":"mobile-apps","readme_excerpt":"🔗 Flutter Parsed text A Flutter package to parse text and extract parts using predefined types like url , phone and email and also supports Regex . Usage 💻 To use this package, add flutter parsed text as a dependency in your pubspec.yaml file. Working ⚙️ ParsedText can receive this paramters & all the RichText parameters: text : Text that will be parsed and rendered. style : It takes a TextStyle object as it's property to style all the non links text objects. parse : Array of MatchText object - used for defining structure for pattern matching . You can also define a custom pattern like this: You can also set RegexOption for the custom regex pattern like so: A boolean that show a diffrent text and passes a diffrent text to the callback eg: Your str is \"Mention [@michel:5455345]\" where 5455345 is ID of this user which will be passed as parameter to the callback funtion and @michel the value to display on interface. Your pattern for ID & username extraction : /\\[(@[^:]+):([^\\]]+)\\]/i Displayed text will be : Mention ^^@michel^^ Example ✍🏻 Find the complete example wiring in the Flutter Parsed Text example application. A small example of the ParsedText widget. Found this project useful? ❤️ If you found this project useful, then please consider giving it a ⭐️ on Github and sharing it with your friends via social media. API details 👨🏻‍💻 See the flutter parsed text.dart for more API details License ⚖️ - MIT Issues and feedback 💭 If you have any suggestion for including a feat","default_branch":null,"files":null,"tree":[],"storefront":"/r/fayeed","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fayeed/flutter_parsed_text/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}