ultimate_alarm_clock
ultimate_alarm_clock copied to clipboard
Fix code
Description
The code required some modification to make the Dart linter/compiler happy.
Proposed Changes
- Making fields of immutable classes final
- Adding key to constructors
- Adding const modifiers for performance
- Adding trailing commas for better formatting
- Importing statements by packages rather than relative location '../../filename.dart' ==> 'package:utlimate_alarm_clock/app/filename.dart'
Fixes #510
Screenshots
Checklist
- [ ] Tests have been added or updated to cover the changes
- [x] Documentation has been updated to reflect the changes
- [x] Code follows the established coding style guidelines
- [ ] All tests are passing (The failing tests are unrelated to this PR)