first commit for init

This commit is contained in:
2025-10-14 12:00:20 +05:30
commit 73be5c6615
67 changed files with 1936 additions and 0 deletions

16
lib/core/app_router.dart Normal file
View File

@@ -0,0 +1,16 @@
import 'package:flutter/material.dart';
class AppRouter {
static Route<dynamic> generateRoute(RouteSettings settings) {
switch (settings.name) {
case '/login':
return MaterialPageRoute(builder: (_) => const LoginPage());
case '/home':
return MaterialPageRoute(builder: (_) => const HomePage());
default:
return MaterialPageRoute(
builder: (_) => const Scaffold(body: Center(child: Text("Page not found"))));
}
}
}