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 codebase. The changes include adding missing required arguments, removing unused variables and imports, and fixing warnings related to duplicate imports and unused local variables.
Summary of Changes
Modified lib/components/custom_info_window.dart:
Added missing required arguments address, officer, status, and time to the CustomInfoWindow class constructor.
Updated the constructor documentation to reflect the changes.
Updated the build method to use the new arguments.
PR Feedback (click)
Summary of Changes
Modified
lib/components/custom_info_window.dart
:address
,officer
,status
, andtime
to theCustomInfoWindow
class constructor.build
method to use the new arguments.Modified
lib/screens/reports/create_report_screen.dart
:report_service.dart
.Modified
lib/utils/date_time_utils.dart
:package:intl/intl.dart
.Modified
lib/screens/accounts/login.dart
:BuildContext
across async gaps.Modified
lib/screens/chat/chat_screen.dart
:BuildContext
across async gaps.Modified
lib/screens/map/home_map.dart
:license_plate
to follow the lowerCamelCase style.Modified
lib/services/auth_service.dart
:print
statements with a logging framework.Modified
lib/services/map_service.dart
:license_plate
andtraffic_violation_id
to follow the lowerCamelCase style.These changes will resolve the failing GitHub Actions and ensure the codebase is cleaner and more efficient.