Skip to content

Check the air quality around you and get necessary health recommendations based on that.

Notifications You must be signed in to change notification settings

ikramhasan/Air-Quality-Index-Mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Air Quality Index

Android Platform Platform ios Platform windows Made With Flutter Responsive License

Intro Screen Home Screen 1 Home Screen 2
drawing drawing drawing
About Screen 1 About Screen 2 Settings Screen
drawing drawing drawing
Dark Mode Statistics Screen Multilingual support
drawing drawing drawing

Description

This app aims to help you check the air quality of your area and take necessary precausions. Check the quality of air surrounding you and get recommended health advice based on that. Made using flutter and the waqi api.

Demo

Download the fat android apk from Google Drive or GitHub Releases

See how the app works here

(Website in development)

Features

  • Add api repository
  • Get user location
  • Add place search functionality
  • Add circular chart
  • Add health recommendations
  • Add statistics chart
  • Add about page
  • Add persistant navbar
  • Add expanded tiles
  • Add multi laguage support
  • Add dynamic theming (persistant)
  • Implement caching of data (Offline functionality)
  • Change the syncfusion graph package to flutter_graphs
  • Implement better state management
  • Build the responsive site

Build Error

You may get this error while building if you're using flutter beta channel or up (Flutter stable should work fine) This is because of the flutter_svg package that uses the nullOk parameter which has been removed from flutter beta. The error looks like this:

FAILURE: Build failed with an exception.

* Where:
Script 'D:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 991

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'D:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 15s
Exception: Gradle task assembleDebug failed with exit code 1

To fix this error, change the version of flutter_svg in the pubspec.yaml file to : flutter_svg: ^0.20.0-nullsafety.3

After that, run these following commands:

  1. flutter clean
  2. flutter pub get
  3. flutter run

My Socials



Built with Responsive Framework       Flutter

License

BSD Zero Clause License

Copyright © 2021 ikramhasan

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.