This guide will help you run this project on your local environment. Follow the instructions below.
Before running the project, make sure you have the following:
- Flutter environment set up on your machine. For Flutter installation, refer to the official Flutter documentation.
- Dart SDK installed.
- First, clone this project to your local system.
git clone https://github.com/Pillar-Bridge/bridge.git
- Navigate to the project directory.
cd bridge
In the project directory, run the following command to install the required packages.
flutter pub get
Use the following command to run the app:
flutter run
- Dart SDK: 3.2.6
- Flutter SDK: Compatible with version >=3.2.6 <4.0.0
- geolocator: 11.0.0
- just_audio: 0.9.36
- record: 5.0.4
- speech_to_text: 6.6.0
lib
┣ api
┃ ┣ responses
┃ ┃ ┣ api_response.dart
┃ ┃ ┣ res_replies.dart
┃ ┃ ┣ res_dialogue.dart
┃ ┃ ┣ res_message_dialogue.dart
┃ ┃ ┣ res_modification_options.dart
┃ ┃ ┗ res_place_recommendation.dart
┃ ┗ api_client.dart
┣ controllers
┃ ┗ voice_recorder.dart
┣ models
┣ ui
┃ ┣ constants
┃ ┃ ┗ app_theme.dart
┃ ┣ screens
┃ ┃ ┣ TestScreen.dart
┃ ┃ ┣ common_widget_test_screen.dart
┃ ┃ ┣ full_text_screen.dart
┃ ┃ ┣ select_answer_screen.dart
┃ ┃ ┣ select_place_screen.dart
┃ ┃ ┣ stt_test_screen.dart
┃ ┃ ┣ voice_recognition_screen.dart
┃ ┃ ┗ voice_setting_screen.dart
┃ ┗ widgets
┃ ┃ ┣ buttons
┃ ┃ ┃ ┣ button_basic.dart
┃ ┃ ┃ ┣ button_basic_icon.dart
┃ ┃ ┃ ┣ button_current_situation.dart
┃ ┃ ┃ ┣ button_select_sentence.dart
┃ ┃ ┃ ┣ button_suggestion_sentence.dart
┃ ┃ ┃ ┣ button_toggle_icon.dart
┃ ┃ ┃ ┣ button_toggle_text.dart
┃ ┃ ┃ ┗ button_word_replacement.dart
┃ ┃ ┣ progresses
┃ ┃ ┃ ┗ progress_threedots.dart
┃ ┃ ┗ change_word.dart
┣ utils
┃ ┗ token_manager.dart
┗ main.dart