katana_router 1.2.0 katana_router: ^1.2.0 copied to clipboard
A package to provide routing functionality. katana_router_builder can be used to automatically generate code with build_runner.
import 'package:flutter/material.dart';
import 'test.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MainPage(),
);
}
}