Flutter App Documentation
Cross-platform mobile and web application for temperature visualization

Tech Stack
Key Features
- Horizontal bar chart visualization
- Historical temperature data display
- Cross-platform (iOS, Android, Web)
- Firebase backend integration
Screenshots

Main temperature visualization screen
TempHist Flutter App
TempHist is a simple Flutter application that visualizes historical average temperatures by year using a horizontal bar chart. It is built using the graphic package.
Features
- Displays average temperature data per year as a horizontal bar chart
- Years are listed on the vertical axis (CategoryAxis)
- Bar length corresponds to temperature value
- Shows average temperature summary text
- Fully responsive and mobile-friendly
Getting Started
Prerequisites
- Flutter SDK installed (installation guide)
- An IDE such as VS Code or Android Studio
Installation
- Clone the repository:
git clone https://github.com/turnpiece/temphist_app.git
cd temphist_app
- Get the dependencies:
flutter pub get
- Run the app:
flutter run
> You can also open it in your IDE and run from there.
Dependencies
Screenshots
_Add screenshots of the chart here once available._
License
This project is licensed under the MIT License.
---For more info or to contribute, please open an issue or submit a pull request at github.com/turnpiece/temphist_app.
Firebase Configuration Setup
This project uses Firebase for backend services. To set up the Firebase configuration:
- Create a new Firebase project at https://console.firebase.google.com/
- Add your app to the Firebase project for each platform you want to support (iOS, Android, Web)
- Download the configuration files:
- For iOS: Download GoogleService-Info.plist
and place it in ios/Runner/
- For Android: Download google-services.json
and place it in android/app/
- For Web: The configuration will be included in the Flutter Firebase options
- Generate the Flutter Firebase configuration:
flutter pub global activate flutterfire_cli
flutterfire configure
This will create the lib/firebase_options.dart
file.
Note: The actual configuration files (GoogleService-Info.plist
and firebase_options.dart
) are gitignored for security reasons. Template files are provided as examples:
lib/firebase_options.template.dart
ios/Runner/GoogleService-Info.template.plist