-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Add and document and explicit toARGB32
.
#56329
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, nit about adding test that uses deprecated member.
testing/dart/color_test.dart
Outdated
|
||
test('value and toARGB32 are equivalent methods', () { | ||
const Color halfRed = Color.from(alpha: 1.0, red: 0.5, green: 0, blue: 0); | ||
expect(halfRed.value, halfRed.toARGB32()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's probably better not to introduce a new test that uses a deprecated property. I'd just assert it is a specific integer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good!
auto label is removed for flutter/engine/56329, due to - The status or check suite Linux linux_host_engine has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Got my local test runner working again, and I'll have this fixed and merged shortly. |
auto label is removed for flutter/engine/56329, due to - The status or check suite Linux Web Framework tests has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Unblocks landing flutter/engine#56329. @jtmcdole monorepo can't come soon enough...
…updated for Color.toARGB32 flutter/engine#56329 added a Color.toARGB32 method. This test is using a package that subclasses Color, and that package needs to be updated to build with the latest engine.
…updated for Color.toARGB32 (#421) flutter/engine#56329 added a Color.toARGB32 method. This test is using a package that subclasses Color, and that package needs to be updated to build with the latest engine.
…158283) flutter/engine@f03f113...58ac1da 2024-11-06 [email protected] [Impeller] split downsample shader into GLES variant. (flutter/engine#56376) 2024-11-06 [email protected] Roll Skia from 82175b411c80 to b4df8dda7ffc (1 revision) (flutter/engine#56398) 2024-11-06 [email protected] Add and document and explicit `toARGB32`. (flutter/engine#56329) 2024-11-06 [email protected] Roll Fuchsia Test Scripts from _fkA2GjLQH4bc_n2p... to 6FgM4KTbxxmyYoiOs... (flutter/engine#56392) 2024-11-05 [email protected] Manual roll Dart SDK from 3e840340c412 to 1c1d0420539f (2 revisions) (flutter/engine#56391) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Closes flutter/flutter#157128.