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 ↗