“Where in the World” is a small, simple and beautiful app, for getting details about countries.
Before we start, you can take a look at the app:
- Get Countries details.
- Bookmark Details.
- Dark Mode.
- Beautiful UI and Transition.
- Cache Network images.
- Store Data locally.
To clone and run this application, you'll need Git and Flutter installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/gadgetvala/Where_in_the_World--android.git
# Go into the repository
$ cd Where_in_the_World--android
# Install dependencies
$ flutter packages get
# Run the app
$ flutter run
Some very good packages are used in the project, not a big list. Below are the information about these packages.
package | explain |
---|---|
flutter_switch | Switching |
path_provider | Path Provider |
hive | Local database |
google_nav_bar | Nav Bar |
flutter_svg | Display SVG Images |
http | Connectivity |
provider | State Management |
https://restcountries.eu/
The project directory structure is as follows:
├── android
├── asset
├── build
├── images
├── ios
├── lib
├── pubspec.lock
├── pubspec.yaml
Let me explain the other directories besides lib:
directory | explain |
---|---|
images | readme images files |
asset | images for android app |
Then the lib directory
directory | explain |
---|---|
global | Global Configuration |
models | Schemas |
providers | State Management |
screens | Presentation Layer |
widgets | Smaller Widgets |
main.dart | Main App Startup |
Feel free to file a new issue with a respective title and description on the the Where in the Country repository. If you already found a solution to your problem, I would love to review your pull request!
The where in the world app is released under the under terms of the MIT License.
Made by Suraj Verma