46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
# Floodwatch
|
|
This App was build for demonstration purposes.
|
|
It requests data from the Environment Agency Real Time flood-monitoring API and displays a list and map of all flood measurement stations,
|
|
as well as a graph showing the last 24 hours of measurements.
|
|
|
|
## Features
|
|
|
|
### Interactive Map View
|
|
- Uses OpenStreetMap to display all flood monitoring stations
|
|
|
|
### Station List
|
|
- Complete list of all flood monitoring stations
|
|
- Filtering by station label
|
|
|
|
### Detailed Station View
|
|
- Line graphs showing water levels over the past 24 hours
|
|
|
|
## Third-Party Packages used
|
|
|
|
- **provider**: State management solution for handling station data
|
|
- **flutter_map**: Integration with OpenStreetMap for the map view
|
|
- **fl_chart**: Creating line graphs for water levels
|
|
|
|
## Installation
|
|
|
|
1. Clone the repository:
|
|
```bash
|
|
git clone https://git.skup.in/marco/floodwatch
|
|
```
|
|
2. Install dependencies:
|
|
```bash
|
|
flutter pub get
|
|
```
|
|
|
|
3. Run the app:
|
|
```bash
|
|
flutter run
|
|
```
|
|
|
|
The App has been tested on Linux and Web and can be tested on android, too.
|
|
|
|
## Building release version
|
|
|
|
```bash
|
|
flutter build
|
|
``` |