step 3 : copy login screen app dokter

This commit is contained in:
sindhu
2024-01-12 14:22:49 +07:00
parent b4500de798
commit 3ae6622951
16 changed files with 2143 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import 'package:flutter/material.dart';
import '../screen/login/login_screen.dart';
const loginRoute = "/loginRoute";
const menuRoute = "/menuRoute";
class AppRoute {
static Route<dynamic> generateRoute(RouteSettings settings) {
// default
return MaterialPageRoute(builder: (context) {
return MediaQuery(
data: MediaQuery.of(context)
.copyWith(textScaleFactor: 1.0, padding: const EdgeInsets.all(0)),
child: const LoginScreen(),
);
});
}
}