-
Notifications
You must be signed in to change notification settings - Fork 582
v1: Migrate Flet extensions to a main repo #5690
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
base: main
Are you sure you want to change the base?
Conversation
Corrected URLs in README, pyproject.toml, and pubspec.yaml to point to the main flet repository and documentation. Removed outdated repository and issue tracker fields from pubspec.yaml for consistency.
Introduces the flet-audio extension for audio playback in Flet apps, including Python and Flutter source code, documentation, and example usage. Updates dependency configuration to use the local flet-audio package and integrates audio control documentation into the Flet docs and mkdocs navigation.
Introduces the flet-audio-recorder Python and Flutter package, including source code, documentation, and licensing. Updates client dependencies to use the local path for flet_audio_recorder. Adds an example usage in Python and documentation for new types and configuration options.
Introduces the new flet-charts package with Python and Flutter implementations, including source code, documentation, and assets. Adds multiple chart examples (bar, line, pie, scatter, matplotlib, plotly) with sample code and media files, and updates client dependencies to use the local flet-charts path instead of a git reference.
Introduced example_1.png and updated scatter_chart.md to display the image, enhancing the documentation with a visual example of the scatter chart.
Introduced the new flet-video package with Python and Flutter source, documentation, and example usage. Updated client and Python package dependencies to use the local flet-video path instead of the git source.
Introduced the flet-lottie package with initial source, documentation, and assets. Updated client and SDK dependencies to use the local path for flet-lottie instead of the git repository. Added Lottie example and sample asset, and made minor updates to other package configurations.
Introduced the flet-map Python package with interactive map controls, including layers for markers, circles, polygons, polylines, and attribution. Updated client dependencies to use local flet-map path. Added a comprehensive example demonstrating map usage and updated documentation and licensing files for the new package.
Introduces the flet-rive extension to enable Rive animation rendering in Flet apps. Adds Python and Flutter package files, example usage, documentation, and updates dependency references to include flet-rive in the project.
Introduced the flet-permission-handler extension for managing runtime permissions in Flet apps, including Python and Flutter source, documentation, and example usage. Updated workspace configuration and dependencies to include the new extension, switched client dependency from git to local path, and added documentation references and navigation. Also removed unused README and CHANGELOG files from flet-charts and flet-video.
Introduced the flet-geolocator Python package with initial implementation, documentation, and licensing. Updated client dependencies to use local path for flet-geolocator and flet-permission-handler. Added example usage and integrated geolocator documentation into the Flet docs.
Improves text style logic by separating font size, color, and focused color handling for clarity and correctness. Replaces 'value' with 'initialValue' in DropdownButtonFormField to match updated API usage.
Added new Python packages for flet-datatable2, flet-flashlight, and flet-webview, including their Flutter implementations, documentation, and example usage. Updated client dependencies to use local paths for these packages instead of git sources. Also added example code for datatable2, flashlight, and webview controls, and updated dropdown_m2 example for improved usage.
Introduces a new GitHub Actions job to build and analyze multiple Flet extension Python packages. Updates the publish step to include these extensions, ensuring they are built and published alongside core packages.
Adds a step to delete pubspec.lock after running 'dart analyze' in the CI workflow. This helps ensure a clean state for subsequent steps and avoids potential issues with stale lock files.
Introduces a notify() method to Observable for manual listener notification. TaskItem now supports an on_status_changed callback, allowing TodoAppState to trigger UI updates when a task's status changes.
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.
The pull request #5690 has too many files changed.
The GitHub API will only let us fetch up to 300 changed files, and this pull request has 426.
The image macro now generates alt text from the image filename if no alt is provided, using urlparse and os.path.basename. This enhances accessibility and provides more descriptive default alt text for images.
Added Python 3.14 to the CI test matrix for broader version support. Updated the README to use the GitHub Actions build status badge instead of AppVeyor.
Updated 'requires-python' in pyproject.toml files to allow Python versions up to 3.14, expanding compatibility for both the main SDK and examples.
Deploying flet-docs with
|
Latest commit: |
5b2fdf3
|
Status: | ✅ Deploy successful! |
Preview URL: | https://af01cecc.flet-docs.pages.dev |
Branch Preview URL: | https://v1-move-all-extensions.flet-docs.pages.dev |
Bump Flutter to 3.35.5 and update various Dart/Flutter package dependencies across multiple pubspec files for compatibility and latest features. Refactor code in bar_chart.dart for improved readability and update usage of tile providers in flet_map. Remove unused dependencies and ensure all packages use consistent versioning.
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.
Pull Request Overview
This PR migrates Flet extensions from separate repositories into the main Flet repository. The migration brings together multiple extension packages (video, rive, permission-handler, map, lottie, geolocator, flashlight) providing specialized functionality for Flet applications.
- Consolidates multiple extension packages into a single repository structure
- Adds comprehensive Flutter/Dart implementations alongside Python packages
- Includes complete documentation, licensing, and build configuration for each extension
Reviewed Changes
Copilot reviewed 234 out of 432 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
flet-video/* | Cross-platform video playback extension based on media_kit |
flet-rive/* | Rive animation display extension |
flet-permission-handler/* | Runtime permissions management extension |
flet-map/* | Interactive map controls extension based on flutter_map |
flet-lottie/* | Lottie animation display extension |
flet-geolocator/* | GPS/location services extension based on geolocator |
flet-flashlight/* | Device flashlight control extension for mobile platforms |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Changed axis properties (left, top, right, bottom) in BarChart, LineChart, and ScatterChart to be Optional and default to None instead of instantiating ChartAxis by default. Also updated SectionBadge icon type in pie chart example for consistency. This allows for more flexible chart configuration and avoids unnecessary default axis creation.
Introduces the CandlestickChart control to flet-charts, including Python and Flutter implementations, example usage, and documentation. Updates README, CHANGELOG, and mkdocs navigation to reflect the new chart type and its related event and tooltip types.
Eliminated the 'timeout' argument from async service methods in audio, geolocator, browser context menu, and clipboard modules for API simplification. Also deleted outdated documentation files for geolocator and permission handler.
Added detailed docstrings to polygon_layer.py, polyline_layer.py, __init__.py, types.py, and video.py to clarify configuration options and public exports. Expanded attribute documentation in VideoSubtitleTrack for better developer understanding of media metadata fields.
No description provided.