A Flutter mobile application that allows users to view information about different countries, including details like states, country codes, flags, and capitals. The app features both light and dark theme modes and is built using Flutter/Dart.
- View a comprehensive list of countries
- Search functionality to filter countries by name
- Detailed country information including:
- Country name
- Flag
- Population
- Capital city
- Continent
- Country code
- Time Zone
- Theme customization (Light/Dark mode)
- Responsive design for various screen sizes
Try the app directly in your browser using Appetize.io: Live Demo Link
You can download the latest APK from the releases section
- Flutter SDK (latest stable version)
- Dart SDK
- Android Studio or VS Code with Flutter extensions
- An Android or iOS device/emulator
- Clone the repository:
git clone https://github.com/yourusername/country-list-app.git
cd country-list-app- Install dependencies:
flutter pub get- Run the app:
flutter run- http: ^1.3.0 - For making HTTP requests to the REST API
- Other Flutter default dependencies
This app uses the REST Countries API to fetch country data:
- Base URL: https://restcountries.com/v3.1
- Endpoint for all countries:
/all
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
To build the release APK:
flutter build apk --releaseThe APK will be available at build/app/outputs/flutter-apk/app-release.apk
- REST Countries API for providing the country data
- Flutter team for the amazing framework
- HNG Internship
