Berlin-bike-theft-warning is a simple application which informs the user about the number of stolen bicycles either by location or by tapping.
It utilizes Riverpod/Provider for State Management and OSM Tiles.
flutter_riverpod
for state managementhive
as local databasehive_flutter
extension for hivecsv
converts csv to nested listsgeolocator
handles realtime location in iOS and Androidflutter_maps
A Dart implementation of Leaflet for Flutter apps.proj4dart
needed for custom CRS
Data sources:
https://daten.berlin.de/datensaetze/fahrraddiebstahl-berlin
https://daten.odis-berlin.de/
https://daten.berlin.de/datensaetze/strassenverkehrsunf%C3%A4lle-nach-unfallort-berlin-2020
ANGELEGT_AM,TATZEIT_ANFANG_DATUM,TATZEIT_ANFANG_STUNDE,TATZEIT_ENDE_DATUM,TATZEIT_ENDE_STUNDE,LOR,SCHADENSHOEHE,VERSUCH,ART_DES_FAHRRADS,DELIKT,ERFASSUNGSGRUND
The button is color coded.
Green: more than 20 bike thefts below average.
Yellow: less than 20 bike thefts below/above average.
Red: more than 20 bike thefts above average.
By pressing the button a bar chart will pop up.
TODO:
- Functionality is as advertised. Though the app declares requesting ACCESS_FINE_LOCATION, this is not accessed automatically, nor when browsing the map – but only when told by the user to use the current location, which is very good. Unfortunately, it cannot be toggled off again without killing the app – which a future release will hopefully fix.
- Button Styling
- implement 'Strassenverkehr'
- make a usable ui