flet 0.12.1
flet: ^0.12.1 copied to clipboard
Write entire Flutter app in Python or add server-driven UI experience into existing Flutter app.
0.12.1 #
- Ability to expand
ButtomSheetto the top of the screen withBottomSheet.is_scroll_controlledproperty (#2087). BottomSheet.maintain_bottom_view_insets_paddingto avoid obstructing controls with on-screen keyboard (#2010).- Fixed:
NavigationDrawerdisappears when you move the window and is not opening again (#2062). - Fixed: alert dialog doesn't close (#2011).
- Fixed: Resizing app's window with an opened BottomSheet triggers new addition to Overlay (#2075).
- Fixed: on_window_event isnt handled after page navigation (#2081).
- Fixed: Routing is not working in 0.12.0 (#2082).
- Fixed: routing regression.
- Fixed: Multiple dialogs (AlertDialog) will create a ghost dialog (#1670).
0.12.0 #
NavigationDrawercontrol (docs).Badgecontrol (docs).RangeSlidercontrol (docs).WebViewcontrol (docs).CookiecutterreplacesCopier(#2014).page.go(): ability to skip route change event (#2039).- Fixed: Two
DatepickerOpening Issue (#2025). - Fixed: Using Audio and FilePicker at the same time, when click on the FilePicker, the audio automatically replays (#1807).
- Fixed: Audio issue while Route Changing (#1236).
- Fixed: Snackbar cause Audio stop playing (#1772).
- Fixed:
scroll_to()with zero duration does nothing (#1659). - Fixed: cannot get height and width for page (#1960).
- Fixed: Put it the right version of flet (#1997).
- Fixed:
Chip.selectedproperty type changed to bool (#2048). - Fixed: Unreliable detection of SVG images (#2053).
0.11.0 #
DatePickercontrol (docs).Chipcontrol (docs).- Pyodide v0.24.1.
- Python 3.12 support.
- Added
AlertDialog.inset_paddingproperty (#1899. - Embedded mode to work with
serious_python.
0.10.3 #
- Add proxy_path parameter to flet_fastapi.app() (#1882).
- Fix
flet createcrashes with an empty project name.
0.10.2 #
- Wrapped --codesign-identity & --add-binary for flet pack (#1789).
- Fix incomplete code blocks in
flet_core/page.py. - Fix disabled color of FilledButtons.
- Add
AppViewandWebRendererenums to flet-pyodide. - Pyodide v0.24.0.
0.10.1 #
0.10.0 #
- Hosting Flet web apps in FastAPI (docs).
- Migrated to Flutter 3.13.1.
- Pydantic 2.0 support (Copier upgraded to 8.2.0).
- BREAKING:
DataTable.data_row_heightreplaced withDataTable.data_row_min_heightandDataTable.data_row_max_height.
0.9.0 #
0.8.4 #
- Bumping version as PyPi was out of space.
0.8.3 #
- Fixed: FilePicker crash the flet.app() after open directory dialog and choose one directory (#1572)
0.8.2 #
0.8.1 #
- Fix
authandPubSubimports inpage.pyandconnection.py. - Fix broken
flet packcommand.
0.8.0 #
- π±π iOS support - build standalone iOS apps in Python:
- Flet app in App Store to test Flet projects on iOS devices.
- New
--iosswitch forflet runcommand to test Flet app on your iOS device. - Testing on iOS guide.
- serious_python Flutter package to add Python support to a Flutter app.
- An example of Flutter app combining serious_python package, flet package and your Python program into a ready iOS app.
- Part of
fletpackage logic moved to a newflet-runtimepackage.fletpackage depends onflet-runtime. The newflet-embedpackage introduced depending onflet-runtime- to run Python apps embedded into Flutter apps. - Less annoying re-connecting logic and loading page for mobile Flet apps.
- Enum parameters for
ft.app()sview: ft.AppViewandweb_renderer: ft.WebRendererparameters (string values are still supported for backward compatibility), for example:
ft.app(main, view=ft.AppView.WEB_BROWSER, web_renderer=ft.WebRenderer.HTML)
- Flet packages
versionis centralized inflet_core.version. - π₯ Breaking change: OAuth providers must be imported from
flet.auth.providersmodule, for example:
from flet.auth.providers import GitHubOAuthProvider
- Added
Image.error_contentproperty - fallback content if image cannot be loaded. - New
BottomSheetproperties:dismissible,enable_drag,show_drag_handle,use_safe_area(#1468). ListTile.toggle_inputsproperty - clicking on a list tile should toggle the state ofRadio,CheckboxorSwitchinside the tile.- New
pagemethods for showing/closing overlays:page.open_banner(),page.close_banner(),page.open_dialog(),page.close_dialog(),page.open_bottom_sheet(),page.close_bottom_sheet(). - New
FletAppproperties:reconnect_interval_ms,reconnect_timeout_ms,on_error. - New
TextFieldproperties:autocorrect,enable_suggestions,smart_dashes_type,smart_quotes_type. - New
SafeAreacontrol. - New
SnackBarproperties:behavior,dismiss_direction,show_close_icon,close_icon_color,margin,padding,width,elevation. - New
View.fullscreen_dialogproperty. ft.app()assumesassets_dir="assets"by default.- New
PaintSweepGradient.rotationproperty.
0.7.3 #
- Fix missing
FLET_APP_WEBdeclaration inflet-pyodide.
0.7.2 #
0.7.0 #
- Programmatically control scroll position and subscribe to scrolling notifications in Page, View, Column, Row, ListView and GridView controls.
- Material color scheme customization
- Text theming
- Scrollbars theming
- Tabs theming
- Nested page themes
- Flutter upgraded to 3.10 with Dart 3.0 required. CanvasKit WASM size reduced from 2.8 to 1.5 MB.
- Bumped Flutter dependencies: window_manager 0.3.0 β 0.3.2, flutter_markdown 0.6.13 β 0.6.14, markdown 6.0.1 β 7.0.0, file_picker 5.2.5 β 5.3.0, flutter_svg 1.1.6 β 2.0.5, shake 2.1.0 β 2.2.0, fl_chart 0.61.0 β 0.62.0.
- Color emoji support in web apps with "canvaskit" renderer (docs).
- Add CLI option -m to run as module (#1389).
- Selectable rich text control (#1386).
0.6.2 #
- Fix
SnackBar(and other controls) exit animation. - Fix
Textdefault style color.
0.6.0 #
Canvascontrol (docs).- Rich text support in
Textcontrol. - Added
urlandurl_targetto controls withon_clickevent (#1337) - Auto-follow links in
Markdown(docs). - Capturing web client info: IP and user agent (#1302)
- Fix: Make non-visual controls working with routing (#1333)
- Fix: Update
page.routeif typed in the URL (#1289)
0.5.2 #
- Fix: Dispose controls only on session closed event
- Fix "There is no current event loop" error in auth module
0.5.1 #
- Fix
pagereference inwill_unmountmethod.
0.5.0 #
- Fixed: Memory usage continues to increase. (#1223)
- Fixed: possible memory leak (#969)
- Color values can contain opacity, e.g.
color=red,0.5orft.colors.with_opacity(0.5, "red") - 1st class Flet charts based on fl_chart package (#1255)
- Pyodide 0.23
- Use named loggers in Python (#1157)
- Fix Contribution guide as PDM is no longer used (#1124)
- Added focus() method, focus and blur events to Elevated, Outlined, Text and Icon buttons (#1079)
- New Card props: color, shadow_color, surface_tint_color (#1078)
- Added WindowDragArea.maximizable property (#1077)
- Added Container.blur and Container.shadow properties (#1076)
- Add template for Q&A discussions (#1070)
0.4.2 #
- Fix reading versioninfo for PyInstaller 5.8.0
- Fix
Dropdown.disableproperty
0.4.1 #
- Slider.round to round slider value on a label
- Fix page.client_storage.get_keys() timeout
- Fix encode() import in PyInstaller integration
- Fix "ConnectionAbortedError" error on Windows
- Consistent licensing across the code - Apache 2.0
- Fix assets loading in a sub-directory app (#1019)
- Add --distpath option to flet pack and flet publish commands (#1018)
- Updating manifest.json when using flet publish (#1014)
- Fix "Address already in use" error on flet run hot reload (#1007)
- Force Python sub-process to run with UTF-8 encoding (#1002)
- Fix: View with content crashes in some routing scenarios (#1001)
0.4.0 #
- Changed re-connection logic to make hot reload work (#971)
- Pyodide publishing fixes and improvements (#953)
- feat: Add PaddingValue to init.py (#936)
- Standalone Flet web apps with Pyodide (#913)
- modified
tooltipattribute fromprefere*toprefer*(#909) - Fix unicode encoding in
FletTcpSocketServerProtocol - Fix relative assets path in desktop app
- PDM changed to Poetry
- Add
--hidden-importoption toflet packcommand - Add transparancy to matplotlib (#889)
- Replace Fletd server for desktop apps with a light-weight Python shim (#838)
- add default values in Border dataclass (#883)
- Fix for issue in control.py when checking add command (#835)
- Fix async pubsub (#868)
- add: Border, BorderSide, Scale Offset, Rotate to
__init__.py(#866) - Loading images from a local file (#817)
- Asyncio support (#799)
- Set filled=True when setting bgcolor in TextField (#807)
- Page transition without animation (#809)
0.3.1 #
- Fixed Flutter package CHANGELOG and README.
0.3.0 #
flet packCLI to create app bundles with custom icons and metadata (#770)- Control comments (#681)
- Fix MaterialState error in ButtonStyle (#689)
- Flet CLI moved into separate module (#679)
- Added BorderRadius to
__init__.py(#691) - Added dense property to TextField and Dropdown controls (#696)
- Correctly handle control replacement (#710)
- Fix "replace" when moving children in the collection (#711)
- Remove hard-coded colors in Markdown default code theme (#731)
- Authorization should allow to override, such as request_token() methods (#776)
0.2.4 #
0.2.2 #
- Make
Control.offsetwork without animation enabled (#632) - Added
Dropdown.alignmentproperty (#630) - Remove beartype runtime check for all
valueproperties - Fix
page.scrollto allow None and strings - Literals to Enums (#626)
gapless_playbackisTrueby default for base64 images- Ability to change border shape of FAB control (#621)
- Added Slider's
on_change_startandon_change_endevents (#620) - DataTable control: 1-to-1 mapping to Flutter (#583)
- Implemented
page.can_launch_url()(#582) - Update project changelog from very beginning (#581)
- Publish pre releases to pypi.org (#579)
- Theming Slider control (#573)
0.1.65 #
- Fixed: Floating Action Button now showing on top left (#567)
- Using variable fonts (#21)
- Old flet client app versions do not launch on Mac (#161)
- NavigationBar control (#193)
ResponsiveRowcontrol (#227)- Add code syntax highlighter to markdown (#294)
- feature: add mouse scroll wheel event (#354)
- Tooltip class (#367)
- BottomSheet control (#483)
- Fixed: Calling
update()insideControl.did_mount()causes deadlock (#489) - Add
page.window_maximizable(#494) - Add an ability to change font family of
TextField(#511) - Feature: Theming Switch and Checkbox component (#523)
- Change shape of AlertDialog (#537)
- Fixed: Saving and retreiving a string value from client storage adds quotation marks (#545)
- Matplotlib and Plotly Charts (#509)
- make control a cooperative object (#490)
0.1.62 #
- Initial release of Flet Flutter package.
- GestureDetector and other fixes (#459)
- removed all problems except dart:html problem because it needs material html kind of thing (#461)
- fix: ensure correct version is fetched in dev mode (#443)
- Fix controls setter for empty list input (#454)
- make ink=True behavior consistent with ink=False (#427)