English | 简体中文
Flutter implementation of a Travel App Concept found in Uplabs with location features. It only consists of 2 screens.
Star⭐ the repo if you like what you see😉.
Images are from Unsplash
1 | 2 |
---|---|
3 | 4 |
---|---|
To toggle the theme, change the isDark
variable in main.dart
.
true
for dark and false
for light.
- Any Operating System (ie. MacOS X, Linux, Windows)
- Any IDE with Flutter SDK installed (ie. IntelliJ, Android Studio, VSCode etc)
- A little knowledge of Dart and Flutter
- A brain to think 🤓🤓
Olusegun Festus Babajide
Lawrence Xiao Delong
Buy me a cup of Coffee😁
Mode | Link/Wallet |
---|---|
Bitcoin | - |
This is a personal project built on top of an open-source Flutter application, FlutterTravel:
- Google Maps Flutter added to include google map page
- Geolocater added to get current geolocation and calculate distance between two coordinates
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
In order to run this app, you need to:
- Fork and clone this repository and open with VS Code editor
- Fix all requirements from outputs of command
flutter doctor -v
to make all dependencies appearing green
- Generate your personal/enterprise API key from Google Maps Platform
- Save this API key as environmental variable for android build to use
4.1. Open~/.bash_profile
using your preferred editor from terminal
4.2. Save this line:export googleMapApiKey=Axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
4.3.source ~/.bash_profile
or reopen the terminal - Save this API key to keys.plist dictionary for ios build to use
5.1. Open the/ios
folder from Xcode
5.2. Createkeys.plist
under/Runner
folder
5.3. Save keygoogleMapApiKey
valueAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
pair inkeys.plist
flutter run
to start the app on your preferred simulator or device