Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename constructors and methods per Dart & Flutter naming conventions #41

Merged
merged 13 commits into from
Apr 15, 2022

Conversation

calvintam236
Copy link
Member

No description provided.

@calvintam236 calvintam236 added the enhancement New feature or request label Mar 7, 2022
@calvintam236
Copy link
Member Author

Blocked by #18

@calvintam236 calvintam236 marked this pull request as ready for review March 20, 2022 21:38
@calvintam236
Copy link
Member Author

@WieFel Can you take a look at this? It has been pending review for a month.

@calvintam236 calvintam236 merged commit 377b2e6 into master Apr 15, 2022
@calvintam236 calvintam236 deleted the feature/naming branch April 15, 2022 18:54
@calvintam236 calvintam236 restored the feature/naming branch April 15, 2022 19:11
calvintam236 added a commit that referenced this pull request Apr 16, 2022
* refactor: rename TinyColor() -> TinyColor.fromColor()

* refactor: rename TinyColor.fromHSV() -> TinyColor.fromHSVColor(), .toHsv() -> .toHSVColor()

* fix: missing deprecated method for TinyColor.fromHSV(), .toHsv()

* docs: update readme using renamed TinyColor.fromColor(), TinyColor.fromHSVColor()

* fix: update extensions on TInyColor.fromColor(), TinyColor.fromHSVColor(), .toHSVColor()

* refactor: rename TinyColor.fromHSL() -> TinyColor.fromHSLColor(), .toHsl() -> .toHSLColor()

* refactor: use .toHSLColor() reference over deprecated .toHsl()

* feat: consolidate imports

* feat: updated tests on renamed constructors and methods

* style: formatting

* docs: update changelog on renaming constructors and methods per Dart & Flutter naming conventions

* docs: fix outdated readme

* docs: update deprecated usage with TinyColor.fromColor()

* fix: outdated usage of TinyColor()

* refactor: adding .toColor() shortcut to return a Color clone instead of _color reference with fixes on .color
@calvintam236 calvintam236 deleted the feature/naming branch June 16, 2022 08:07
calvintam236 added a commit that referenced this pull request Jun 16, 2022
calvintam236 added a commit that referenced this pull request Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants