route_navigator 1.2.0 route_navigator: ^1.2.0 copied to clipboard
This package helps to manage the navigate between screens in an elegant and easy way.
import 'package:flutter/material.dart';
import 'package:route_navigator_example/fisrt_screen.dart';
import 'package:route_navigator_example/routes.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
routes: Routes.routes(context),
home: const FirstScreen());
}
}