Skip to content

v1: add flet-dev extensions to client + remove charts #5304

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 44 commits into from
Jun 19, 2025
Merged

Conversation

ndonkoHenri
Copy link
Contributor

@ndonkoHenri ndonkoHenri commented May 14, 2025

Summary by Sourcery

Add support for flet-dev extensions in the Flutter client and remove built-in charts from the Python SDK. Introduce more flexible styling and utility types across both SDKs and streamline event, control, and parsing logic.

New Features:

  • Introduce BorderStyle enum and extend BorderSide and Border APIs with style, stroke alignment, and copying methods
  • Add SnackBarAction control to unify action handling in snack bars
  • Expose core geometry types (Size, Rect) with parsing and extension methods in Python and Dart SDKs

Enhancements:

  • Enrich BorderRadius and Duration with copy methods, arithmetic operations, and sensible defaults
  • Simplify Tooltip defaults and decoration, unify properties, and set a default wait duration
  • Refactor event handlers for DragTarget, Dismissible, Window, Container, and InteractiveViewer to use consistent event types
  • Clean up control logic by moving event definitions, removing chart submodules, and restructuring parsers

Chores:

  • Update Flutter client pubspec and add initialization of flet-dev plugins (audio_recorder, geolocator, permission_handler, lottie, map, ads, rive, webview, flashlight, datatable2, charts)
  • Adjust iOS/macOS Info.plist and plugin registrants for new permissions and plugins
  • Remove obsolete chart controls and tests from Python SDK and replace with chart stubs in test fixtures
  • Bump dependency refs to v1, clean up commented code, and update CI config to install new libraries

@ndonkoHenri ndonkoHenri marked this pull request as draft May 14, 2025 05:40
@ndonkoHenri ndonkoHenri marked this pull request as ready for review June 14, 2025 10:48
@ndonkoHenri
Copy link
Contributor Author

@sourcery-ai review

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@ndonkoHenri

This comment was marked as resolved.

@ndonkoHenri ndonkoHenri changed the title v1: add flet-dev extensions to client v1: add flet-dev extensions to client + remove charts Jun 17, 2025
@FeodorFitsner FeodorFitsner merged commit 553d46e into v1 Jun 19, 2025
2 checks passed
@FeodorFitsner FeodorFitsner deleted the v1-extensions branch June 19, 2025 18:19
@ndonkoHenri

This comment has been minimized.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants