Flutter App Documentation

Cross-platform mobile and web application for temperature visualization

Flutter App Logo

Key Features

  • Horizontal bar chart visualization
  • Historical temperature data display
  • Cross-platform (iOS, Android, Web)
  • Firebase backend integration

Screenshots

TempHist main screen showing temperature chart

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

Installation

  1. Clone the repository:
git clone https://github.com/turnpiece/temphist_app.git
cd temphist_app
  1. Get the dependencies:
flutter pub get
  1. 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:

  1. Create a new Firebase project at https://console.firebase.google.com/
  1. Add your app to the Firebase project for each platform you want to support (iOS, Android, Web)
  1. 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

  1. 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
Replace the placeholder values in these templates with your actual Firebase configuration values.