Cart/Payment: - Custom tip option (0-200%) with dialog input - Tip buttons now include "Custom" option - Default custom tip starts at 25% Order Flow: - New order type selection screen (Dine-In, Takeout, Delivery) - Group order invite screen (placeholder) - App router updated with new routes Menu Display: - Category headers now text-only (removed image loading) - Simplified category background with gradient and styled text Beacon Scanning: - Improved beacon detection flow 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
36 lines
1.5 KiB
Dart
36 lines
1.5 KiB
Dart
import "package:flutter/material.dart";
|
|
|
|
import "../screens/beacon_scan_screen.dart";
|
|
import "../screens/cart_view_screen.dart";
|
|
import "../screens/group_order_invite_screen.dart";
|
|
import "../screens/login_screen.dart";
|
|
import "../screens/menu_browse_screen.dart";
|
|
import "../screens/order_type_select_screen.dart";
|
|
import "../screens/restaurant_select_screen.dart";
|
|
import "../screens/service_point_select_screen.dart";
|
|
import "../screens/splash_screen.dart";
|
|
|
|
class AppRoutes {
|
|
static const String splash = "/";
|
|
static const String login = "/login";
|
|
static const String beaconScan = "/beacon-scan";
|
|
static const String orderTypeSelect = "/order-type";
|
|
static const String groupOrderInvite = "/group-invite";
|
|
static const String restaurantSelect = "/restaurants";
|
|
static const String servicePointSelect = "/service-points";
|
|
static const String menuBrowse = "/menu";
|
|
static const String cartView = "/cart";
|
|
|
|
static Map<String, WidgetBuilder> get routes => {
|
|
splash: (_) => const SplashScreen(),
|
|
login: (_) => const LoginScreen(),
|
|
beaconScan: (_) => const BeaconScanScreen(),
|
|
orderTypeSelect: (_) => const OrderTypeSelectScreen(),
|
|
groupOrderInvite: (_) => const GroupOrderInviteScreen(),
|
|
restaurantSelect: (_) => const RestaurantSelectScreen(),
|
|
servicePointSelect: (_) => const ServicePointSelectScreen(),
|
|
menuBrowse: (_) => const MenuBrowseScreen(),
|
|
"/menu_browse": (_) => const MenuBrowseScreen(), // Alias for menuBrowse
|
|
cartView: (_) => const CartViewScreen(),
|
|
};
|
|
}
|