30 lines
1.2 KiB
Dart
30 lines
1.2 KiB
Dart
import 'package:flutter/material.dart';
|
|
import '../presentation/bus_stop_details/bus_stop_details.dart';
|
|
import '../presentation/splash_screen/splash_screen.dart';
|
|
import '../presentation/coupons_screen/coupons_screen.dart';
|
|
import '../presentation/schedules_screen/schedules_screen.dart';
|
|
import '../presentation/map_screen/map_screen.dart';
|
|
import '../presentation/taxi_screen/taxi_screen.dart';
|
|
|
|
class AppRoutes {
|
|
// TODO: Add your routes here
|
|
static const String initial = '/';
|
|
static const String busStopDetails = '/bus-stop-details';
|
|
static const String splash = '/splash-screen';
|
|
static const String coupons = '/coupons-screen';
|
|
static const String schedules = '/schedules-screen';
|
|
static const String map = '/map-screen';
|
|
static const String taxi = '/taxi-screen';
|
|
|
|
static Map<String, WidgetBuilder> routes = {
|
|
initial: (context) => const SplashScreen(),
|
|
busStopDetails: (context) => const BusStopDetails(),
|
|
splash: (context) => const SplashScreen(),
|
|
coupons: (context) => const CouponsScreen(),
|
|
schedules: (context) => const SchedulesScreen(),
|
|
map: (context) => const MapScreen(),
|
|
taxi: (context) => const TaxiScreen(),
|
|
// TODO: Add your other routes here
|
|
};
|
|
}
|