सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
एक फ्लटर पैकेज जो टेक्स्ट के भीतर कस्टमाइज़ किए गए हाइलाइट और क्लिक करने योग्य लिंक रेफरेंस के साथ रिच टेक्स्ट रेंडरिंग की अनुमति देता है। यह मानक टेक्स्ट विजेट्स को बढ़ाकर डेवलपर्स को टेक्स्ट फ्लो में हाइलाइटेड कीवर्ड और हाइपरलिंक जैसे इंटरैक्टिव तत्व डालने की अनुमति देता है। आर्टिकल, चैट मैसेज या डॉक्यूमेंटेशन जैसे डायनामिक स्टाइलिंग और नेविगेशन के साथ फॉर्मेटेड कंटेंट दिखाने के लिए आदर्श है। पैकेज कई प्लेटफॉर्मों को सपोर्ट करता है, जिसमें एंड्रॉइड, आईओएस, वेब, मैकओएस, विंडोज और लिनक्स शामिल हैं।
उपयोग
प्रारूपित लेख प्रदर्शित कर रहे हैं
इंटरैक्टिव चैट संदेश बनाना
लिंक के साथ डॉक्यूमेंटेशन रेंडर करना
पाठ में कीवर्ड को हाइलाइट करना
समृद्ध नोट-लेखन एप्लिकेशन बनाना
मुख्य विशेषताएँ
कस्टम टेक्स्ट हाइलाइटिंग
क्लिक करने योग्य लिंक संदर्भ
क्रॉस-प्लेटफ़ॉर्म समर्थन
विस्तारयोग्य पाठ शैली
मौजूदा विजेट्स के साथ आसान एकीकरण
इनके लिए उपयुक्त
समृद्ध पाठ उपयोगकर्ता इंटरफेस बनाने वाले विकासकर्ता
इंटरैक्टिव टेक्स्ट कंटेंट वाले ऐप्स
सामग्री-भारी एप्लिकेशन
शैक्षिक या संदर्भ प्लेटफॉर्म
चैट या संदेश इंटरफ़ेस
विचार योग्य बातें
टैप गेस्चर का ध्यान से हैंडल करने की आवश्यकता होती है
जटिल लेआउट के लिए अतिरिक्त स्टाइलिंग की आवश्यकता हो सकती है
मूलभूत लिंक कार्यक्षमता तक सीमित
पूर्ण-कार्य विशिष्ट WYSIWYG संपादकों के लिए उपयुक्त नहीं
बड़े टेक्स्ट ब्लॉक के साथ प्रदर्शन प्रभाव
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
Custom RichText
CustomRichText is a package that allows highlighting and link reference to the text.
Key Features
Highlights email, phone number, web link, custom RegExp, certain sub-strings
Provides a call back on each highlighted string
Option for read more, read less and a call back for both
Allow text styling as per requirement
Note
If you want to highlight any specific type of text then need to add the following on tap method.
If any link or email consists the provided sub-string then it will ignore that and will be highlighted as web link or email.
CustomRichText(
text: 'MindInventory is first-rate choice of the '
'clients worldwide. With sheer customer satisfaction in mind, we are profoundly '
'dedicated to developing highly intriguing apps that strictly meet the business '
'requirements and catering a wide spectrum of projects. Kickstart Your Digital '
'Journey Today and get all your queries and concerns answered by our business '
'development team. Our email address is sales@mindinventory.com, our website '
'https://www.mindinventory.com and our Contact number is +91-951-229-3490',
caseSensitive: false,
readMoreLessModel: ReadMoreLessModel(
trimLines: 3,
readMoreText: ' read more',
readLessText: ' read less',
readMoreLessStyle: kReadMoreLessStyle,
),
textStyle: kTextStyle,
linkStyle: kLinkStyle,
highlightTermsStyle: kLinkStyle,
onWebLinkTap: (web) async {
await launch(web);
},
onPhoneTap: (phone) async {
await launch('tel:$phone');
},
onEmailTap: (email) async {
await launch('mailto:$email');
},
highlightTerms: [kMindinventory],
onTermTap: (text) async {
await launch('https://www.mindinventory.com/');
},
),
Guideline for contributors
Contribution towards our repository is always welcome, we request contributors to create a pull request to the develop branch only.
Guideline to report an issue/feature request
It would be great for us if the reporter can share the below things to understand the root cause of the issue.
Library version
Code snippet
Logs if applicable
Device specification like (Manufacturer, OS version, etc)
Screenshot/video with steps to reproduce the issue
We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.