simplified_flutter_animations 1.0.0+1 simplified_flutter_animations: ^1.0.0+1 copied to clipboard
An easy way to create basic animations for Widgets when they appear. No messing with AnimationControllers, just pass a Builder and you are ready.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add simplified_flutter_animations
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
simplified_flutter_animations: ^1.0.0+1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:simplified_flutter_animations/generic_fade_transition.dart';
import 'package:simplified_flutter_animations/generic_size_transition.dart';
import 'package:simplified_flutter_animations/generic_slide_transition.dart';