Arokip / flutter_diagram_editor

Fllutter diagram editor library
MIT License
116 stars 38 forks source link

Add analysis_options.yaml and resolve analysis/linting errors #34

Closed point-source closed 4 months ago

point-source commented 2 years ago

In advance of beginning work to improve/extend this package, I went through and conformed all the code to a common set of accepted format/analysis rules to improve readability, type-safety, and reduce human error during development.

This PR has no functional changes with the exception of making a few dynamic variables more explicit (e.g. var -> int) and explicitly declaring some already immutable objects as const.

This is a fully backward-compatible change and should only serve to change the way future contributions are written. If you would like me to increment the version number, let me know.

Arokip commented 4 months ago

Thank you for this PR. Today I updated the project with up to date linter and all warning were fixed. Closing