initialized Dashboard Page

This commit is contained in:
Mohammad Salameh
2024-02-20 12:08:59 +03:00
parent 0c390a8062
commit d27063f149
98 changed files with 1704 additions and 824 deletions
+10 -13
View File
@@ -8,20 +8,17 @@ class SplashView extends StatelessWidget {
@override
Widget build(BuildContext context) {
//TODO remove this delay
Future.delayed(
const Duration(seconds: 3),
() {
Navigator.popAndPushNamed(
context,
Routes.authRoute,
);
},
);
return Scaffold(
appBar: AppBar(
actions: [
IconButton(
icon: const Icon(Icons.arrow_forward),
onPressed: () {
Navigator.popAndPushNamed(
context,
Routes.authRoute,
);
},
),
],
),
body: Center(
child: InkWell(
//TODO check if user agreement is accepted