Last updated:
0 purchases
animate routes
animate_routes is a minimalist library to provider some cool transition animation when you navigate between the screens ,also provide some shorcuts to navigate easily and you can open the dialog in just three lines of code .
Features #
animate_routes isn't a route manger itself is just a hack of productivy .
AnimatedRoute allow you to open snackbar, open bottomSheet and dialog easily with less boilerplate .
Getting started #
Installing #
Add animate_routes to your pubspec.yaml file:
dependencies:
animate_routes:
copied to clipboard
Import animate_routes in files that it will be used:
import 'package:animate_routes/animate_routes.dart';
copied to clipboard
You can use just like this
context.go(AnimateRoute(transition:Transition.downToUp,screen:Home()));
or
Navigator.of(context).push(AnimateRoute(transition:Transition.downToUp,screen:Home()));
copied to clipboard
animate_routes provide a cool and easy api to open dialog #
with animate_routes is very easi to open and animate dialog with just one line of code
context.openDialog();
or
context.openDialog(
transition:TransitionDialog.left,
title: 'My title',
content: "My content"
);
copied to clipboard
Want to contribute to the project? We will be proud to highlight you as one of our collaborators. Here are some points where you can contribute and make animate_routes even better.
Helping to add more features
Offering PRs for code/tests.
Including new functions.
Any contribution is welcome!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.