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

chore(deps): Flutter 3.27.1 and Dart 3.6.0 #534

Merged
merged 4 commits into from
Dec 24, 2024
Merged

chore(deps): Flutter 3.27.1 and Dart 3.6.0 #534

merged 4 commits into from
Dec 24, 2024

Conversation

riscait
Copy link
Member

@riscait riscait commented Dec 18, 2024

🙌 What's Done

✍️ What's Not Done

🖼️ Image Differences

Before After
image image

🤼 Desired Review Method

  • Correction Commit
  • Pair programming

Note

It is possible that a reviewer's will may cause a method to be implemented that is not selected.

📝 Additional Notes

Pre-launch Checklist

  • I have reviewed my own code.
  • I have added tests that prove my fix is effective or that my feature works.
  • I updated/added relevant documentation (doc comments with ///).

Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 26.43%. Comparing base (10137db) to head (188a56f).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #534      +/-   ##
==========================================
+ Coverage   23.75%   26.43%   +2.68%     
==========================================
  Files          13       15       +2     
  Lines         160      174      +14     
==========================================
+ Hits           38       46       +8     
- Misses        122      128       +6     
Files with missing lines Coverage Δ
...l/lib/src/json_converter.dart/color_converter.dart 77.77% <100.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 10137db...188a56f. Read the comment docs.

@@ -7,7 +7,7 @@ ChipThemeData appChipThemeData({
return ChipThemeData(
side: const BorderSide(color: Colors.black12),
shape: const StadiumBorder(),
backgroundColor: colorScheme.primary.withOpacity(0.2),
Copy link
Member Author

Choose a reason for hiding this comment

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

Deprecated withOpacity, because replaced to withValues(alpha) .

@@ -16,5 +16,11 @@ class ColorConverter implements JsonConverter<Color, int> {
Color fromJson(int json) => Color(json);

@override
int toJson(Color object) => object.value;
Copy link
Member Author

Choose a reason for hiding this comment

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

Deprecated Color.value.

Comment on lines 6 to 14
test('color converter ...', () async {
const converter = ColorConverter();
const object = Color(0xFFFF0000);
final sut = converter.toJson(object);
expect(sut, 0xFFFF0000);
expect(Color(sut), isSameColorAs(const Color(0xFFFF0000)));
});
Copy link
Member Author

Choose a reason for hiding this comment

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

Add test for ColorConverter!

Base automatically changed from several-fixes-and-generation-diffs to main December 18, 2024 01:39
Comment on lines +33 to +34
min: 0.6,
max: 1.9,
Copy link
Member Author

Choose a reason for hiding this comment

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

The default value would be omitted, so we dared to use a value that is not close to the end of the list!

@riscait riscait marked this pull request as ready for review December 18, 2024 12:45
@riscait riscait requested a review from a team as a code owner December 18, 2024 12:45
@riscait riscait requested review from k-nkmr and removed request for a team December 18, 2024 12:45
Copy link
Contributor

@naipaka naipaka left a comment

Choose a reason for hiding this comment

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

LGTM

@riscait riscait merged commit 2cf768f into main Dec 24, 2024
8 checks passed
@riscait riscait deleted the flutter-3.27 branch December 24, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants