v1.1.0
rich_typewriter
一个使底层 Text.rich 或 RichText 像打字机一样动画的组件。
37喜欢 38近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个使底层 Text.rich 或 RichText 像打字机一样动画的组件。
以下为英文项目原文快照,最新内容请访问 GitHub。
A widget that makes underlying Text.rich or RichText animate like a typewriter.
I was creating a visual novel engine, so I needed a convenient way to animate RichTexts (with styles and WidgetSpans). Actually there are some packages which do the thing, but they do not work with existent RichTexts and/or do not support WidgetSpans.
In addition, it's also a kind of proof of concept in terms of interaction with the element tree.
RichTypewriter(
child: const Text.rich(TextSpan(text: "some text", children: [
WidgetSpan(
child: FlutterLogo(
size: 100,
))
])));
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^3.0.1先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗