FLUTTER ECOSYSTEM

alpceylan/flutter-countup

Flutter用の基本的なカウンターウィジェット。

flutter-countup のプロジェクト画像
Stars
15
Forks
22
最終プッシュ(UTC)
2022/08/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