flutter_villains 1.1.1 flutter_villains: ^1.1.1 copied to clipboard
Villains for flutter. Page transitions with just a few lines of code. What are heroes without villains?
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_villains
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_villains: ^1.1.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:flutter_villains/villain.dart';
import 'package:flutter_villains/villains/utils.dart';
import 'package:flutter_villains/villains/villains.dart';