FLUTTER ECOSYSTEM

alphamikle/anitex

動畫文字組件

anitex 專案封面
Stars
20
Forks
0
最近推送(UTC)
2026年5月5日
專案狀態
未封存
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