Flutter_animate

This library allows you to include animations in the form of widgets.

First you have to import it

import 'package:flutter_animate/flutter_animate.dart';

And you can create animations

Animate(
//You specify the type of animation you want to create
 effects: [FadeEffect(duration: 1000.ms, delay: 500.ms)],
 child: Text("Hello World!"),
)

Also, there is a shorten way to do it

Text("Hello World!").animate().fade().scale()

More info in https://pub.dev/packages/flutter_animate

´

Last updated