Skip to content

Conversation

@davidmigloz
Copy link
Contributor

@davidmigloz davidmigloz commented May 13, 2022

Add lerp() function to ColorSwatch

Fixes #103695

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@flutter-dashboard flutter-dashboard bot added the framework flutter/packages/flutter repository. See also f: labels. label May 13, 2022
@davidmigloz davidmigloz force-pushed the color-swatch-lerp branch 2 times, most recently from a4ec839 to 96bc3f2 Compare May 13, 2022 13:04
@HansMuller HansMuller requested a review from gspencergoog May 13, 2022 21:48
Copy link
Contributor

@gspencergoog gspencergoog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Flutter repo, we don't use dart format for formatting, and readability is favored over staying within 80 characters.

https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#prefer-a-maximum-line-length-of-80-characters

@davidmigloz
Copy link
Contributor Author

Thanks for the review @gspencergoog. Good to know that you are not strict with the 80 characters' limit. I've committed your suggestions. Let me know if it looks good now.

@goderbauer goderbauer requested a review from gspencergoog May 18, 2022 21:43
Copy link
Contributor

@gspencergoog gspencergoog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

(But please fix the variable naming issue.)

@gspencergoog gspencergoog changed the title Define ColorSwatch.lerp() function (#103695) Define ColorSwatch.lerp() function May 18, 2022
@gspencergoog gspencergoog changed the title Define ColorSwatch.lerp() function Define ColorSwatch.lerp() function May 18, 2022
Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a docs nit.

@davidmigloz
Copy link
Contributor Author

fixed! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Define ColorSwatch.lerp() function

4 participants