NEW FEATURES: Drop Zone, Layout Builder, Window Background Blur #4441
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.
Description
New Feature: Layout Builder
Allows to know size,position of widget.
New Feature: DropZone
DropZone - widget that must have child widget (ft.Container as example) to drop files inside of it.
New Feature: WIndow Bacgkround Blur
Adding nice transparency effect to your Flet App.
Motivation
Such functionality should be by default in Flet. Such as DropZone, or LayoutBuilder, for building more complex interfaces. Acrylic - to make it look beautiful ;)
Knows Problem
LayoutBuilder may not be built correctly. In terms of, not fully optimized. But you at least have a working example of LayoutBuilder, maybe you should improve it. Because my knowledge of Dart is not good.
Test Code DropZone
Test Code Window Blur
Test Code LayoutBuilder
Type of change
Checklist
Screenshots
Additional details
Link to these features:
https://pub.dev/packages/desktop_drop
https://pub.dev/packages/flutter_acrylic
https://api.flutter.dev/flutter/widgets/LayoutBuilder-class.html
Summary by Sourcery
Add new features including Layout Builder, DropZone, and Window Background Blur to enhance the application's UI capabilities. Integrate the Flutter Acrylic package to support the new blur effect.
New Features:
Enhancements: