-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_flutter_structure.sh
More file actions
executable file
·33 lines (29 loc) · 1.13 KB
/
Copy pathcreate_flutter_structure.sh
File metadata and controls
executable file
·33 lines (29 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# Base directory
BASE_DIR="lib/src"
# Create directories
mkdir -p $BASE_DIR/app/home
mkdir -p $BASE_DIR/app/authentication
mkdir -p $BASE_DIR/app/ride_request
mkdir -p $BASE_DIR/app/driver_portal
mkdir -p $BASE_DIR/app/customer_dashboard
mkdir -p $BASE_DIR/app/models
mkdir -p $BASE_DIR/app/widgets
# Create files
touch $BASE_DIR/main.dart
touch $BASE_DIR/routes.dart
touch $BASE_DIR/app/home/home_page.dart
touch $BASE_DIR/app/home/home_view_model.dart
touch $BASE_DIR/app/authentication/auth_repository.dart
touch $BASE_DIR/app/authentication/auth_service.dart
touch $BASE_DIR/app/authentication/sign_in_page.dart
touch $BASE_DIR/app/authentication/sign_up_page.dart
touch $BASE_DIR/app/ride_request/ride_request_service.dart
touch $BASE_DIR/app/ride_request/ride_request_repository.dart
touch $BASE_DIR/app/ride_request/ride_request_page.dart
touch $BASE_DIR/app/driver_portal/driver_portal_page.dart
touch $BASE_DIR/app/customer_dashboard/customer_dashboard_page.dart
touch $BASE_DIR/app/models/user.dart
touch $BASE_DIR/app/models/ride.dart
touch $BASE_DIR/app/widgets/custom_map.dart
echo "Flutter project structure created successfully!"