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