fix phone dashboard
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import '../../../widgets/app_back_button.dart';
|
||||
|
||||
class RoleScreen extends StatelessWidget {
|
||||
const RoleScreen({super.key});
|
||||
@@ -13,7 +14,8 @@ class RoleScreen extends StatelessWidget {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const SizedBox(height: 40),
|
||||
const AppBackButton(fallbackRoute: '/landing'),
|
||||
const SizedBox(height: 24),
|
||||
Container(
|
||||
width: 60,
|
||||
height: 60,
|
||||
@@ -53,7 +55,7 @@ class RoleScreen extends StatelessWidget {
|
||||
title: 'Browse & Reserve',
|
||||
subtitle: 'Find and book a vehicle',
|
||||
color: const Color(0xFF0E9F6E),
|
||||
onTap: () => context.go('/client'),
|
||||
onTap: () => context.push('/client'),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user