-
Notifications
You must be signed in to change notification settings - Fork 608
Examples cleanup #5997
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
Merged
Merged
Examples cleanup #5997
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Renamed the counter_flutter example app to counter_test_ios, including all related files and assets. Updated requirements.txt to require flet>=0.80.0. Modified fly.toml to use a build section and dockerfile reference, and fixed alignment usage in main.py.
Deleted the entire controls_gallery app and its assets, components, and example files from the sdk/python/examples/apps directory. Updated autocomplete_searcher to inline the NAMES list and removed the now-unused names.py. Also removed the custom_loading_image and desktop_window_manager example apps. The Flet Gallery app has been moved to https://github.com/flet-dev/gallery.
Refactored the studio_gallery example apps to use Flet's new component model and modularized chart examples into separate files under a new charts/ directory. Removed legacy monolithic files (buttons.py, charts.py, entry_form.py, main.py, to_do.py) and replaced them with updated, component-based implementations (e.g., audio_player.py, calculator.py, todo.py, video_player.py, flashlight.py, cupertino_controls.py, material_controls.py, minesweeper.py). Chart examples are now split into barchart.py, candlestickchart.py, linechart.py, piechart.py, radarchart.py, scatterchart.py, and a new charts.py for navigation. Also removed unused asset and configuration files.
Introduces a new example app demonstrating uncontrolled text fields using Flet's declarative API. The app includes first and last name fields, a submit button that shows a dialog, and a reset button.
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, we are unable to review this pull request
The GitHub API does not allow us to fetch diffs exceeding 300 files, and this pull request has 333
Deploying flet-examples with
|
| Latest commit: |
71dace5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d9e7949f.flet-examples.pages.dev |
| Branch Preview URL: | https://cleanup-examples.flet-examples.pages.dev |
Deploying flet-docs with
|
| Latest commit: |
71dace5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6119462f.flet-docs.pages.dev |
| Branch Preview URL: | https://cleanup-examples.flet-docs.pages.dev |
Adds platform detection to distinguish between mobile and desktop. Updates gesture handling to use long press for flagging on mobile and tap for revealing, improving usability on touch devices.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.