-
Notifications
You must be signed in to change notification settings - Fork 482
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
Support Flutter 3.27 #4548
Comments
Thanks for letting know. Flet is not yet 3.27-ready. We will work on that. For now, please make use of Flitter 3.24 |
I can confirm this behaviour, i had to downgrade flutter to successfully build cd \flutter\flutter\
git checkout 3.24.5
flutter doctor -v |
How can I benefit from this update (Flutter 3.27) because I still have this error when converting to apk? |
|
@ndonkoHenri |
Yes , I have the Same also with the Same error |
Bump |
The same error. Need to add flutter install instructions on flet install page. |
TabBarTheme? there are error in these types. Please update flet package. |
If the solution shared above doesnt work, downgrade your Flutter version to Flutter 3.24.x |
Duplicate Check
Describe the bug
In Flutter 3.27, API breaking change introduced, as a part of attempt to "normalize" Material's theme API. Reference is here for
TabBarTheme
–ThemeData
'stabBarTheme
property is nowTabBarThemeData
instead ofTabBarTheme
.These changes breaks
flet
because theme utils now have incompatible types. Consider this example:This method returns
TabBarTheme?
because it returns result ofcopyWith
method. But this method now returnsTabBarThemeData
. Thus errors like this:Sadly, there is already questions on SO on this matter, for example: https://stackoverflow.com/questions/79273727/materialtheme-normalization-breaks-tabbartheme-cardtheme-dialogtheme-api/79273907#79273907
Same for other API apart from
TabBarTheme
, such asDialogTheme
,CardTheme
, etc ....Code sample
Code
Considerr this code:This will works on 3.24.5, but breaks on 3.27
To reproduce
See code sample
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
macOS
Operating system details
Sonoma 14.7
Flet version
0.25.1
Regression
No, it isn't
Suggestions
Hard to say. Since it's hard breakage of public API of Flutter itself, maybe it'll require to set minimal flutter version for 3.27 for
flet
package and update usages accordingly in new version offlet
Logs
Logs
Additional details
No response
The text was updated successfully, but these errors were encountered: