FLUTTER ECOSYSTEM

alpceylan/flutter-countup

Flutter 的基本計數器小部件。

flutter-countup 專案封面
Stars
15
Forks
22
最近推送(UTC)
2022年8月22日
專案狀態
未封存
Alp Ceylan GitHub avatar
GITHUB User

Alp Ceylan ↗

Antalya, Turkey
語言Dart

此儲存庫發佈的套件

使用的依賴

依賴清單 2 項
  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

pub package License: MIT

Flutter Countup

A Flutter package that helps you create animated Text widgets for Android and IOS. Based by https://gitlab.com/kmcgill88/mccounting_text

Simple Usage

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'

Props
begin: double
end: double
separator: String
duration: Duration
style: TextStyle
prefix: String
suffix: String
precision: int
curve: Curve
textAlign: TextAlign
textDirection: TextDirection
locale: Locale
softWrap: bool
overflow: TextOverflow
textScaleFactor: double
maxLines: int
semanticsLabel: String