v3.0.1
anitex
Anitex é um widget de texto animado implicitamente, que anima nas mudanças de texto passadas
29Curtidas 307Downloads em 30 dias150Pontos Pub
AndroidiOSWebmacOSWindowsLinux
Widget de texto animado
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.1Texto original em inglês. Visite o GitHub para a versão atual.
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.
/// ...
@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