-
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
Rename Control.on_update
to Control.before_update
#2642
Comments
Please can you fill up the bug/issue template with all necessary details. |
I simply copied the example in the documentation and ran it under Flet 0.20.0 and Windows 11. Here is the complete error log: File "C:\PyProjects\venv\Lib\site-packages\flet_runtime\app.py", line 357, in on_session_created |
python 3.12.1 |
Control.on_update
to Control.before_update
* Flutter 3.19.x * Upgrade Gradle configs * Do not install Flutter on macOS * `Control.on_update` renamed to `Control.before_update` Close #2642 * `Page.design` replaced with `Page.adaptive` Close #2650 * Fixed scrollbars behavior * Fixed choosing scaffold based on provided AppBar * Migrate deprecated keyboard handlers * Fix deprecated DragTarget.onWillAccept * Remove unused imports * Bump version to 0.20.1 * Copy build outputs from multiple locations Fix #2658 * flet_audio version bumped to 0.20.1
* Flutter 3.19.x * Upgrade Gradle configs * Do not install Flutter on macOS * `Control.on_update` renamed to `Control.before_update` Close flet-dev#2642 * `Page.design` replaced with `Page.adaptive` Close flet-dev#2650 * Fixed scrollbars behavior * Fixed choosing scaffold based on provided AppBar * Migrate deprecated keyboard handlers * Fix deprecated DragTarget.onWillAccept * Remove unused imports * Bump version to 0.20.1 * Copy build outputs from multiple locations Fix flet-dev#2658 * flet_audio version bumped to 0.20.1
Dismissible example in the documentation doesn't work in Flet 0.20.0
Code example to reproduce the issue:
TypeError: EventHandler.__sync_handler() missing 1 required positional argument: 'e'
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
flet 0.20.0
Give your
requirements.txt
file (don'tpip freeze
, instead give direct packages):Operating system:
Windows 11
The text was updated successfully, but these errors were encountered: