faded_text
为多行文本集成从左到右的渐变效果。非常适合在更复杂的布局中需要单行文本优雅感时使用。
由 Surf 制作 🏄
以下为英文项目原文快照,最新内容请访问 GitHub。
Made by Surf 🏄♂️🏄♂️🏄♂️
Enhance your Flutter app with this package, designed to seamlessly integrate left-to-right fade effects for multi-line text. Perfect for when you need that single-line text elegance in more complex layouts. Made by Surf :surfer: Flutter team :cow2:
Add faded_text to your pubspec.yaml file:
dependencies:
faded_text: 0.0.6
You need to create an instance of the FadedText class like a regular Text.
| Regular `Text` with fade effect | `FadedText` |
|---|---|
|
|
Output:
| Fade effect of intrinsic `Text` | Fade effect of `FadedText` |
|---|---|
|
|
You can also create FadedText.rich like regular Text.rich.
| Regular `Tex.rich` with fade effect | `FadedText.rich` |
|---|---|
|
|
Output:
| Fade effect of intrinsic Text.rich | Fade effect of FadedText.rich |
|---|---|
|
|
All notable changes to this project will be documented here.
To report your issues, file directly in the Issues section.
If you would like to contribute to the package (e.g. by improving the documentation, fixing a bug or adding a cool new feature), please read our contribution guide first and send us your pull request.
Your PRs are always welcome.
Please feel free to ask any questions about this package. Join our community chat on Telegram. We speak English and Russian.
依赖清单 5 项
{"sdk":"flutter"}{"sdk":"flutter"}^0.15.0^3.0.0^1.24.9先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗