A platform, 'Traffic-Violation-Report-System', enabling users in Taiwan to upload and share responses from law enforcement to traffic violations. This system aims for greater transparency in traffic law enforcement. It utilises Django for backend and Flutter for a separated frontend web development.
[ ] 👎 Sweep Needs Improvement
I created this PR to fix the failing GitHub Actions.## Description
This PR fixes the failing GitHub Actions by addressing the issues identified in the error logs. The changes include adding missing required arguments, defining undefined named parameters and getters, removing unused local variables and imports, and fixing other warnings.
PR Feedback (click)
Summary of Changes
test/components/custom_info_window_test.dart
:address
,license_plate
,officer
,status
, andtime
to theCustomInfoWindow
widget constructor.test/components/report_form_test.dart
:licensePlate
andlocation
in theReportForm
widget constructor.test/models/traffic_violation_test.dart
:licensePlate
andlocation
in theTrafficViolation
class.lib/services/map_service.dart
:traffic_violation_id
in theloadMarkers
method.lib/utils/date_time_utils.dart
:'package:intl/intl.dart'
.test/components/media_picker_test.dart
:@immutable
annotation to theMock
class.test/components/navigation_drawer_test.dart
:null
.lib/components/custom_info_window.dart
:license_plate
tolicensePlate
to follow the lowerCamelCase style.lib/components/media_picker.dart
:BuildContext
across async gaps.lib/models/traffic_violation.dart
:license_plate
tolicensePlate
to follow the lowerCamelCase style.lib/screens/map/home_map.dart
:LatLng
public.license_plate
tolicensePlate
to follow the lowerCamelCase style.lib/services/auth_service.dart
:const
keyword to the constructor invocation in theAuthService
class.lib/services/map_service.dart
:license_plate
tolicensePlate
to follow the lowerCamelCase style.traffic_violation_id
totrafficViolationId
to follow the lowerCamelCase style.Please review and merge these changes to fix the failing GitHub Actions.