ultimate_alarm_clock icon indicating copy to clipboard operation
ultimate_alarm_clock copied to clipboard

Fix code

Open mohnishdeshpande opened this issue 1 year ago • 0 comments

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)

mohnishdeshpande avatar Mar 12 '24 01:03 mohnishdeshpande