v3.0.1
anitex
Anitex 是一个隐式动画文本控件,会在传入的文本变化时进行动画
29喜欢 480近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
动画文本小部件
以下为英文项目原文快照,最新内容请访问 GitHub。
Anitex - is a simple package, which give you access to implicitly animate any text. The most impressive animation is achieve if the old and new lines are the same length, or don't differ too much in length.
/// ...
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: AnimatedText(
title, // This is just a [String]
style: Theme.of(context).textTheme.headline6.copyWith(color: Colors.white),
duration: const Duration(seconds: 1),
),
),
body: Center(
child: AnimatedText(
content,
reversed: true,
),
),
);
}
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.1先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
