➰ Flutter Read More Text ➰
🚀 Getting Started
- A Flutter repo that simplifies the implementation of “Read More Text” text functionality in your Flutter applications. This repo provides an easy-to-use and customizable widget to handle long texts, allowing users to expand and collapse content as needed. Enhance the user experience in your app by efficiently managing lengthy content with a “Read More” option.
🎲 Features
- Effortless Implementation: Quickly integrate “Read More” functionality into your app with minimal effort.
- Customizable Look and Feel: Tailor the appearance of the “Read More” text button to match your app’s design, including custom text, button style, and more.
- Dynamic Content Handling: Seamlessly manage varying content lengths, from short snippets to lengthy paragraphs.
- Enhanced User Experience: Provide users with the ability to expand and collapse text, improving readability and user engagement.
⚙️ Customization
- Customize the appearance and behavior of the clipboard according to your requirements:
- Usage Example
ReadMoreText(
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur vestibulum quam et turpis sodales, a malesuada lorem finibus. In hac habitasse platea dictumst.',
trimLines: 2,
trimMode: TrimMode.Line,
trimCollapsedText: '...Read more',
trimExpandedText: ' Show less',
style: TextStyle(fontSize: 16),
),
📱 UI
![ReadMoreText](https://private-user-images.githubusercontent.com/149938388/287967120-74c3306b-222f-4027-b93b-db3ee3dd59f6.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDIwMDY2MjUsIm5iZiI6MTcwMjAwNjMyNSwicGF0aCI6Ii8xNDk5MzgzODgvMjg3OTY3MTIwLTc0YzMzMDZiLTIyMmYtNDAyNy1iOTNiLWRiM2VlM2RkNTlmNi5naWY_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBSVdOSllBWDRDU1ZFSDUzQSUyRjIwMjMxMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDIzMTIwOFQwMzMyMDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNzA0YTQwNmZkMTViMThkMWZkODEzOWIxMDE3ZWRhYWQ1N2Y5MWQ2NGJjYjk4MjFhYTllOTJiYTcyY2RhZmU0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.KH6bCwbJP3l1df5k5GYI5aIvPLHbLow0tGL4tAYb3m8)
🛠 Dependencies
- Haven’t any Dependencies 🚫
🫴 Contributing
- Contributions are welcome 💜
- If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
💳 License
![License: MIT](https://camo.githubusercontent.com/78f47a09877ba9d28da1887a93e5c3bc2efb309c1e910eb21135becd2998238a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)
![Version](https://camo.githubusercontent.com/a85881a0d7377e75c34fce1a02d085cf9b17b721fd3b19adaac5c7f8d3b45072/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d626c75652e737667)
- This package is distributed under the MIT License. Feel free to use and modify it according to your project requirements.
GitHub
View Github