FLUTTER ECOSYSTEM

RHeimb/berlin-bike-theft-warning

Berlin-bike-theft-warning 是一個簡單的應用程式,可告知使用者在特定地點或點擊後被竊的自行車數量。

柏林自行車竊盜警告 專案封面
Stars
3
Forks
1
最近推送(UTC)
2022年2月6日
專案狀態
未封存
RHeimb GitHub avatar
GITHUB User

RHeimb ↗

語言DartHTMLSwiftKotlinObjective-C

相關套件與範例

使用的依賴

依賴清單 22 項

App 分類

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

Berlin-bike-theft-warning

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.

Get it on F-Droid

Packages

  • flutter_riverpod for state management
  • hive as local database
  • hive_flutter extension for hive
  • csv converts csv to nested lists
  • geolocator handles realtime location in iOS and Android
  • flutter_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

Header CSV Fahrraddiebstähle

ANGELEGT_AM,TATZEIT_ANFANG_DATUM,TATZEIT_ANFANG_STUNDE,TATZEIT_ENDE_DATUM,TATZEIT_ENDE_STUNDE,LOR,SCHADENSHOEHE,VERSUCH,ART_DES_FAHRRADS,DELIKT,ERFASSUNGSGRUND

Initial Location/Map Center Initial Location Bar Chart

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.
Button is color coded Accidents Chart
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.
  • [x] Button Styling
  • [x] implement 'Strassenverkehr'
  • [ ] make a usable ui