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 Flutter 3.7 incompatibilities #151

Merged
merged 2 commits into from
Jan 27, 2023

Conversation

jpnurmi
Copy link
Contributor

@jpnurmi jpnurmi commented Jan 26, 2023

  • Mix TextInputClient into CustomTextEditState instead of implementing all of it to avoid breaking whenever a new TextInputClient member is introduced.
  • MenuItem was renamed to PlatformMenuItem. Drop the explicit type in the example to support both versions.

Fixes: #150

Mix TextInputClient into CustomTextEditState instead of implementing
all of it to avoid breaking whenever a new TextInputClient member is
introduced.

Fixes: TerminalStudio#150
@xtyxtyx xtyxtyx self-assigned this Jan 26, 2023
MenuItem was renamed to PlatformMenuItem
@jpnurmi
Copy link
Contributor Author

jpnurmi commented Jan 26, 2023

@jpnurmi
Copy link
Contributor Author

jpnurmi commented Jan 26, 2023

@codecov
Copy link

codecov bot commented Jan 26, 2023

Codecov Report

Merging #151 (20f85d2) into master (8949d2e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #151   +/-   ##
=======================================
  Coverage   64.05%   64.05%           
=======================================
  Files          52       52           
  Lines        3158     3158           
=======================================
  Hits         2023     2023           
  Misses       1135     1135           
Impacted Files Coverage Δ
lib/src/ui/custom_text_edit.dart 67.34% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@xtyxtyx xtyxtyx merged commit 205d6fc into TerminalStudio:master Jan 27, 2023
@xtyxtyx
Copy link
Member

xtyxtyx commented Jan 27, 2023

Thanks so much!

@jpnurmi jpnurmi deleted the text-input-client branch January 27, 2023 14:28
jpnurmi added a commit to jpnurmi/workshops that referenced this pull request Jan 30, 2023
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.

Cannot run with exception on build in flutter 3.7.0
2 participants