FLUTTER ECOSYSTEM

alphamikle/anitex

アニメーションテキストウィジェット

anitex のプロジェクト画像
Stars
20
Forks
0
最終プッシュ(UTC)
2026/05/05
プロジェクト状態
公開中
Mike Alfa GitHub avatar
GITHUB User

Mike Alfa ↗

A passionate developer who was lucky enough to have a hobby that became a job

言語DartSwiftKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^2.0.1

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

AnimatedTextWidget

Getting started

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.

Example of usage:
  /// ...
  @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,
        ),
      ),
    );
  }
https://github.com/alphamikle/anitex/raw/master/demo.gif