We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am practice flet examples, but bottom sheet doesn't work in my enviroment
Code example to reproduce the issue:
import flet as ft def main(page: ft.Page): def bs_dismissed(e): print("Dismissed!") def show_bs(e): bs.open = True bs.update() def close_bs(e): bs.open = False bs.update() bs = ft.BottomSheet( ft.Container( ft.Column( [ ft.Text("This is sheet's content!"), ft.ElevatedButton("Close bottom sheet", on_click=close_bs), ], tight=True, ), padding=10, ), open=True, on_dismiss=bs_dismissed, ) page.overlay.append(bs) page.add(ft.ElevatedButton("Display bottom sheet", on_click=show_bs)) ft.app(target=main)
Flet version (pip show flet):
pip show flet
Name: flet Version: 0.6.0 Summary: Flet for Python - easily build interactive multi-platform apps in Python Home-page: Author: Appveyor Systems Inc. Author-email: hello@flet.dev License: Apache-2.0 Location: c:\users\grint\anaconda3\envs\tf\lib\site-packages Requires: flet-core, httpx, oauthlib, packaging, watchdog, websocket-client, websockets Required-by:
Operating system:
Additional environment details:
The text was updated successfully, but these errors were encountered:
9fe9cea
Just released Flet 0.6.1 with the fix.
Sorry, something went wrong.
Fix regression in AlertDialog and BottomSheet controls
AlertDialog
BottomSheet
081debf
Fix flet-dev#1344
No branches or pull requests
I am practice flet examples, but bottom sheet doesn't work in my enviroment
Code example to reproduce the issue:
Flet version (
pip show flet
):Operating system:
Additional environment details:
The text was updated successfully, but these errors were encountered: