add dashboard to phone app

This commit is contained in:
root
2026-05-25 05:10:43 -04:00
parent d04c8ce437
commit 277db06d26
67 changed files with 7872 additions and 570 deletions
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import '../../../core/providers/auth_provider.dart';
import 'client_shell.dart';
class MyBookingsScreen extends ConsumerWidget {
const MyBookingsScreen({super.key});
@@ -11,7 +12,7 @@ class MyBookingsScreen extends ConsumerWidget {
final auth = ref.watch(authProvider);
if (auth.status != AuthStatus.authenticated) {
return Scaffold(
return ClientShell(
appBar: AppBar(title: const Text('My Bookings')),
body: Center(
child: Padding(
@@ -19,8 +20,11 @@ class MyBookingsScreen extends ConsumerWidget {
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
const Icon(Icons.bookmark_outline,
size: 64, color: Color(0xFFD1D5DB)),
const Icon(
Icons.bookmark_outline,
size: 64,
color: Color(0xFFD1D5DB),
),
const SizedBox(height: 20),
const Text(
'Sign in to view your bookings',
@@ -48,7 +52,7 @@ class MyBookingsScreen extends ConsumerWidget {
);
}
return Scaffold(
return ClientShell(
appBar: AppBar(title: const Text('My Bookings')),
body: const Center(
child: Column(
@@ -58,10 +62,7 @@ class MyBookingsScreen extends ConsumerWidget {
SizedBox(height: 16),
Text(
'No bookings yet',
style: TextStyle(
fontSize: 16,
color: Color(0xFF6B7280),
),
style: TextStyle(fontSize: 16, color: Color(0xFF6B7280)),
),
],
),