Flutter application
ETAlatam Flutter application
Previous requirements:
flutter doctor
command to verify that your development environment is configured correctly.Step 1:
Download or clone this repo by using the link below:
git clone https://github.com/etalatam/ETAlatam-flutter.git
Step 2:
Go to project root and execute the following command in console to get the required dependencies:
flutter pub get
Step 3:
Go to project root and execute the following command in console to get the required dependencies:
flutter pub get
Open your Flutter project in your IDE.
Select the platform you want to build for:
Build > Build APK
.flutter build apk
command.Wait for the build to finish.
If the build is successful, you will find the APK (Android) file in the build/app/outputs
folder.
Additional tips:
adb pair ipaddr:port
Where ipaddr:port is taken from the menu shown after clicking from Developer options > Wireless debugging > Pair device with pairing code. More info at Android Debug Bridge (adb)
flutter run
command to run the app on your device or emulator without compiling it.In-order to hide generated files, navigate to Android Studio
-> Preferences
-> Editor
-> File Types
and paste the below lines under ignore files and folders
section:
*.inject.summary;*.inject.dart;*.g.dart;
In Visual Studio Code, navigate to Preferences
-> Settings
and search for Files:Exclude
. Add the following patterns:
**/*.inject.summary
**/*.inject.dart
**/*.g.dart