Skip to content

Conversation

@deandreamatias
Copy link
Contributor

💡 Motivation and Context

To avoid a info lint about deprecation.
Related PR on Flutter.
This would improve the pub points on pub.dev

💚 How did you test it?

When applied the change, the lint was solved

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

@deandreamatias deandreamatias requested a review from a team as a code owner February 10, 2026 17:20
Copy link
Member

@marandaneto marandaneto left a comment

Choose a reason for hiding this comment

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

final b = color.blue;
final r = (color.r * 255.0).round().clamp(0, 255);
final g = (color.g * 255.0).round().clamp(0, 255);
final b = (color.b * 255.0).round().clamp(0, 255);
Copy link
Member

Choose a reason for hiding this comment

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

@ioannisj can you double check if the changes make sense now?
since we do some stuff after re hsp, if all good, we can merge it

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants