v0.1.4countup
一个 Flutter 插件,可帮助您构建动画计数文本。
130喜欢 1万近 30 天下载140Pub 分数
AndroidiOSWebmacOSWindowsLinux
Flutter 的基本计数器小部件。
{"sdk":"flutter"}{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
A Flutter package that helps you create animated Text widgets for Android and IOS. Based by https://gitlab.com/kmcgill88/mccounting_text
You should give a begin, end and a duration value to Countup widget. If you want you can also give separator and style value.
Countup(
begin: 0,
end: 7500,
duration: Duration(seconds: 3),
separator: ',',
style: TextStyle(
fontSize: 36,
),
)
'flutter-countup-basic'
begin: doubleend: doubleseparator: Stringduration: Durationstyle: TextStyleprefix: Stringsuffix: Stringprecision: intcurve: CurvetextAlign: TextAligntextDirection: TextDirectionlocale: LocalesoftWrap: booloverflow: TextOverflowtextScaleFactor: doublemaxLines: intsemanticsLabel: String