A Flutter-based mobile application that provides real-time data and statistics about the COVID-19 pandemic. This app includes global and country-specific information, interactive charts, and animated features for a smooth user experience.
- Global COVID-19 Statistics: View the current worldwide statistics for COVID-19 cases, deaths, and recoveries.
- Country-specific Data: Browse COVID-19 data for individual countries.
- Interactive Pie Chart: View a pie chart displaying the distribution of cases.
- Animated Text: Animated text elements to enhance user interaction.
- Shimmer Effect: Smooth loading effects while fetching data.
- Real-time Data Fetching: Data is pulled from online sources to keep it up-to-date.
lib/
│
├── models/
│ └── WorldStatesModel.dart # Contains the data model for world states
│
├── services/
│ └── utils/
│ ├── app_url.dart # URL constants for API endpoints
│ └── states_services.dart # Handles API calls and data fetching
│
├── views/
│ ├── countries_list.dart # Displays the list of countries with COVID data
│ ├── details_screen.dart # Shows detailed data for a selected country
│ ├── splash_screen.dart # App launch screen
│ └── world_states.dart # Displays global COVID-19 statistics
│
├── main.dart # Main entry point of the application
└── pubspec.yaml # Project dependencies and configurations
- pie_chart: A library for displaying interactive pie charts in Flutter.
- http: Makes HTTP requests to fetch COVID-19 data from an external API.
- animated_text_kit: Provides animated text effects for a dynamic UI.
- flutter_spinkit: A collection of loading indicators for Flutter.
- shimmer: Adds shimmer loading effects while fetching data.
- Clone this repository to your local machine:
git clone https://github.com/your-username/covid-19-flutter-app.git
- Navigate into the project directory:
cd covid-19-flutter-app
- Install the dependencies:
flutter pub get
- Run the app:
flutter run
We welcome contributions to improve the app. To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-name
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-name
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.