anitex 2.0.0 copy "anitex: ^2.0.0" to clipboard
anitex: ^2.0.0 copied to clipboard

Anitex is a implicitly animated text widget, which animates on passed text changes

Anitex #

Animated text widget package for flutter

Getting started #

Anitex - is a simple package, which give you possibility 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.

The widget has a limitation - it is possible to write text in only one line, and it is also desirable to explicitly specify the text styles (you can get textStyle from context and pass it to AnimatedText).

Example of usage:

  /// ...
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: AnimatedText(
          title,
          style: Theme.of(context).textTheme.headline6.copyWith(color: Colors.white),
          duration: const Duration(seconds: 1),
        ),
      ),
      body: Center(
        child: AnimatedText(
          content,
          style: Theme.of(context).textTheme.headline6.copyWith(color: Colors.white),
          reversed: true,
        ),
      ),
    );
  }

Video available on YouTube:

17
likes
120
pub points
75%
popularity

Publisher

verified publisheralphamikle.dev

Anitex is a implicitly animated text widget, which animates on passed text changes

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on anitex