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

Fix analysis issues with Flutter v3.22 #354

Merged
merged 6 commits into from
May 29, 2024

Conversation

Amir-P
Copy link
Member

@Amir-P Amir-P commented May 15, 2024

No description provided.

@Amir-P Amir-P requested a review from amantoux May 15, 2024 06:02
Copy link
Member

@amantoux amantoux left a comment

Choose a reason for hiding this comment

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

Thanks @Amir-P
We also need to update the CI

@Amir-P
Copy link
Member Author

Amir-P commented May 15, 2024

Thanks @Amir-P

We also need to update the CI

Thanks! Completely forgot about that. Now we have failing tests.

Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 70.00000% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 87.89%. Comparing base (2726f7d) to head (590b2d7).

Files Patch % Lines
packages/fleather/lib/src/widgets/checkbox.dart 69.38% 15 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #354      +/-   ##
==========================================
- Coverage   87.97%   87.89%   -0.08%     
==========================================
  Files          64       64              
  Lines       10380    10379       -1     
==========================================
- Hits         9132     9123       -9     
- Misses       1248     1256       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@amantoux amantoux left a comment

Choose a reason for hiding this comment

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

Thanks @Amit-P. LGTM
Just one question (and a typo)

packages/fleather/lib/src/rendering/editor.dart Outdated Show resolved Hide resolved
// The addition of 1 point to testOffset.dy is added because somehow in
// Flutter 3.22 the text painer for the offset is yielding wrong
// text position (1 line above the correct line).
final finalOffset = Offset(caretOffset.dx, testOffset.dy + 1);
Copy link
Member

Choose a reason for hiding this comment

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

Really strange, no explanation for this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Couldn't find any. I even took a quick look at the commits in framework and engine.

@Amir-P Amir-P requested a review from amantoux May 29, 2024 06:14
Copy link
Member

@amantoux amantoux left a comment

Choose a reason for hiding this comment

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

LGTM

@amantoux amantoux merged commit 0fd67a7 into master May 29, 2024
2 of 4 checks passed
@Amir-P Amir-P deleted the fix/analysis_issues_with_flutter_v3.22 branch May 29, 2024 08:09
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.

2 participants