https://github.com/davigmacode/flutter_wx_text
Introducing WxText, a powerful widget that builds upon the familiar Flutter Text widget, offering additional functionalities for a richer text display experience.
https://github.com/davigmacode/flutter_wx_text
Last synced: 7 months ago
JSON representation
Introducing WxText, a powerful widget that builds upon the familiar Flutter Text widget, offering additional functionalities for a richer text display experience.
- Host: GitHub
- URL: https://github.com/davigmacode/flutter_wx_text
- Owner: davigmacode
- License: bsd-3-clause
- Created: 2024-03-17T03:09:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-22T09:37:26.000Z (about 1 year ago)
- Last Synced: 2024-05-23T05:27:32.655Z (about 1 year ago)
- Language: Dart
- Homepage: https://pub.dev/packages/wx_text
- Size: 5.22 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://pub.dev/packages/wx_text)  [](https://www.buymeacoffee.com/davigmacode) [](https://ko-fi.com/davigmacode)
The `Text` widget is a Flutter mainstay, but sometimes, you crave more control over your text presentation. Enter `wx_text`, a powerful package that injects superpowers into your Flutter text experience.
[](https://davigmacode.github.io/flutter_wx_text)
[Demo](https://davigmacode.github.io/flutter_wx_text)
## Features
* **Seamless Integration**: Build upon the familiar foundation of the standard Text widget. Inherits all its functionalities, including text content, styling, and text direction, making it a smooth transition for developers.
* **Effortless Predefined Styles**. Provides ready-made constructors for commonly used styles like titles, body text, and captions. It also allows for complete customization through callback functions.
* **Minimum Lines**. Defines the minimum number of lines the widget will always display, ensuring a consistent look and preventing empty space.
* **Text Highlighting**. Allows users to select and highlight specific portions of the text for emphasis or annotation. The highlighted text can be visually distinguished through color customization.
* **Text Transformation**. Leverage regular expressions to target specific patterns like URLs or email addresses. Transform them into clickable elements or custom builders, creating a more interactive and user-friendly experience.
* **Spoiler Text**. Implements a dynamic text expansion/collapse mechanism controlled by user interaction or specific triggers.
* **Animated Text**. Allowing you to add captivating animations like slide, zoom, shimmer, shake, fade, and even a typing effect. Grab user attention, enhance visual appeal, and tell your story in a more dynamic way.
* **Outlines and Gradients**. Go beyond basic styling and create visually striking text with customizable outlines and captivating gradients.## Usage
For a step-by-step breakdown of using wx_text, check out the article on Medium: [Supercharge Your Flutter Text Widget](https://medium.com/@davigmacode/supercharge-your-flutter-text-widget-3b85b90a16a1). This guide showcases practical code examples and demonstrates how to leverage various features of `wx_text`.
To delve deeper into the technical details of `wx_text`'s classes, methods, and properties, please refer to the official [API Reference](https://pub.dev/documentation/wx_text/latest/).
## Sponsoring
If this package or any other package I created is helping you, please consider to sponsor me so that I can take time to read the issues, fix bugs, merge pull requests and add features to these packages.