An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

[![Pub Version](https://img.shields.io/pub/v/wx_text)](https://pub.dev/packages/wx_text) ![GitHub](https://img.shields.io/github/license/davigmacode/flutter_wx_text) [![GitHub](https://badgen.net/badge/icon/buymeacoffee?icon=buymeacoffee&color=yellow&label)](https://www.buymeacoffee.com/davigmacode) [![GitHub](https://badgen.net/badge/icon/ko-fi?icon=kofi&color=red&label)](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.

[![Preview](https://github.com/davigmacode/flutter_wx_text/raw/main/media/preview.gif)](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

Buy Me A Coffee
Ko-Fi

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.