Commit f05d5f4
authored
v1: Migrate Flet extensions to a main repo (#5690)
* Update links and metadata for flet-ads package
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.
* Add flet-audio extension package and docs
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.
* Add flet-audio-recorder package and example
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.
* Add flet-charts package and chart examples
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.
* Add example image to scatter chart documentation
Introduced example_1.png and updated scatter_chart.md to display the image, enhancing the documentation with a visual example of the scatter chart.
* Add flet-video package and update video dependencies
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.
* Fix Video example
* Add flet-lottie package and update dependencies
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.
* Add flet-map package and example integration
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.
* Add flet-rive extension for Rive animation support
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.
* Add flet-permission-handler extension and docs
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.
* Add flet-geolocator package and example
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.
* Refactor text style and value handling in DropdownM2
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.
* Add flet-datatable2, flet-flashlight, flet-webview packages
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.
* Add CI workflow for building Flet extension packages
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.
* Remove pubspec.lock after Flutter analysis
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.
* Add manual notify method to Observable and task status callback
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.
* Improve alt text generation in image macro
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.
* Update CI workflow and README build badge
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.
* Expand supported Python versions to <3.15
Updated 'requires-python' in pyproject.toml files to allow Python versions up to 3.14, expanding compatibility for both the main SDK and examples.
* Update Flutter version and dependencies
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.
* Make chart axis properties optional in chart classes
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.
* Add CandlestickChart control and documentation
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.
* Remove timeout parameters from service methods
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.
* Add and improve docstrings for map and video modules
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.1 parent e4b928c commit f05d5f4
File tree
442 files changed
+24126
-391
lines changed- .github/workflows
- client
- packages/flet
- sdk/python
- examples
- apps/declarative
- controls
- audio_recorder
- audio
- charts
- bar_chart
- media
- candlestick_chart
- media
- line_chart
- media
- matplotlib_chart
- media
- pie_chart
- media
- plotly_chart
- media
- scatter_chart
- media
- datatable2
- media
- dropdown_m2
- flashlight
- geolocator
- lottie
- assets
- map
- permission_handler
- rive
- assets
- video
- webview
- packages
- flet-ads
- src
- flet_ads
- flutter/flet_ads
- flet-audio-recorder
- src
- flet_audio_recorder
- flutter/flet_audio_recorder
- lib
- src
- utils
- flet-audio
- src
- flet_audio
- flutter/flet_audio
- lib
- src
- utils
- flet-charts
- src
- flet_charts
- matplotlib_backends
- flutter/flet_charts
- lib
- src
- utils
- flet-cli/src/flet_cli/commands
- flet-datatable2
- src
- flet_datatable2
- flutter/flet_datatable2
- lib
- src
- utils
- flet-flashlight
- src
- flet_flashlight
- flutter/flet_flashlight
- lib
- src
- flet-geolocator
- src
- flet_geolocator
- flutter/flet_geolocator
- lib
- src
- utils
- flet-lottie
- src
- flet_lottie
- flutter/flet_lottie
- lib
- src
- flet-map
- src
- flet_map
- flutter/flet_map
- lib
- src
- utils
- flet-permission-handler
- src
- flet_permission_handler
- flutter/flet_permission_handler
- lib
- src
- utils
- flet-rive
- src
- flet_rive
- flutter/flet_rive
- lib
- src
- flet-video
- src
- flet_video
- flutter/flet_video
- lib
- src
- utils
- flet-webview
- src
- flet_webview
- flutter/flet_webview
- lib
- src
- utils
- flet
- docs
- audio_recorder
- types
- audio
- types
- charts
- assets
- types
- datatable2
- types
- extras/macros
- flashlight
- exceptions
- geolocator
- types
- lottie
- map
- types
- permission_handler
- types
- rive
- video
- types
- webview
- types
- src/flet
- components
- controls
- material
- services
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
442 files changed
+24126
-391
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
550 | 634 | | |
551 | 635 | | |
552 | 636 | | |
| |||
598 | 682 | | |
599 | 683 | | |
600 | 684 | | |
| 685 | + | |
601 | 686 | | |
602 | 687 | | |
603 | 688 | | |
| |||
613 | 698 | | |
614 | 699 | | |
615 | 700 | | |
616 | | - | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
617 | 720 | | |
618 | 721 | | |
619 | 722 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments