route_transitions
2.0.1, released 5 years ago by an unverified publisher
Flutter library containing useful animations for routing.
WASM-ready
What it does
Provides friendly route functions to navigate screens with custom page transitions and animations. Allows building custom animations using a transitionBuilder.
AI-written summary of version 2.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need custom route transition animations without complex setup
- You want simple function-based navigation for your Flutter app
Skip it when
- You need a declarative router with deep linking support
- You prefer annotation-based route generation
Strengths
- Simple friendly API with routing functions
- Supports null safety
- Allows building custom animations with transitionBuilder
Weaknesses
- Limited documentation on all available built-in transition types
- Lacks advanced navigation features like nested routing or deep linking out of the box
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:route_transitions/route_transitions.dart';
ElevatedButton(
onPressed: () => pushWidget(
newPage: Dashboard(),
context: context,
),
child: Text("Push page"),
)Alternatives
Packages that do the same job and could replace route_transitions.
- go_router
For declarative routing, deep linking, and URL-based navigation.
98Compare - auto_route
For strongly-typed route generation and deep linking.
87Compare