feature: CarouselView Widget for Flet
Duplicate Check
- [x] I have searched the opened issues and there are no duplicates
Describe the requested feature
Title: Add Material Design 3 CarouselView widget with multiple layout modes
Description: Requesting the implementation of a CarouselView widget that follows Material Design 3 specifications for carousel layouts. This widget would provide a scrollable list of items with support for four distinct layout modes:
- Uncontained (default): Items scroll to the edge of the container, similar to a uniform ListView
- Multi-browse: Displays at least one large, medium, and small item simultaneously
- Hero: Shows at least one large and one small item at a time
- Full-screen: Presents edge-to-edge items that scroll vertically
This widget would enable developers to create modern, responsive carousels that match Material Design 3 standards while maintaining Flet's simplicity and cross-platform compatibility.
Best regard.
Suggest a solution
No response
Screenshots
No response
Additional details
No response
I already created a dart wrapper and it is working on my pc, I Don't know how to share with the community
I already created a dart wrapper and it is working on my pc, I Don't know how to share with the community
Great Job, I think you need to read the documentation that Flet provided on how publish third-party widgets (extend Flet) https://docs.flet.dev/extend/user-extensions/#prerequisites
But this widget is a built-in Flutter Control!, so I think you need to do a PR to merge your code with Flet built-in controls. You don't need to do a new extension? Just define the Python control file and Flutter Control.
But this widget is a built-in Flutter Control!, so I think you need to do a PR to merge your code with Flet built-in controls. You don't need to do a new extension? Just define the Python control file and Flutter Control.
But how would people with lower flet versions like me who uses 0.28.3 how would i be helped
But this widget is a built-in Flutter Control!, so I think you need to do a PR to merge your code with Flet built-in controls. You don't need to do a new extension? Just define the Python control file and Flutter Control.
But how would people with lower flet versions like me who uses 0.28.3 how would i be helped
I suggest that you upgrade to the latest version, it has big changes and bugfixes, e.g., mobile app crash after back, etc Also, you see clear and good docs for extend flet using Flutter widget, you actually see one of the new controls that have been added in the past few days, "PageView", to see how flet integrate new Flutter control/widget to the base code!
And thanks to you for trying to help the community and me!
The problem i have with the new flet version is that i have been working on my project since version 0.25.1, so migrating it will be another huge task cause when I try to run that same code with the latest version, it is not displaying anything.
The problem i have with the new flet version is that i have been working on my project since version 0.25.1, so migrating it will be another huge task cause when I try to run that same code with the latest version, it is not displaying anything.
The same problems, I also have an app that I'm writing in version 0.28 at the latest update, so I'm wondering how I can start migration 😅
I think the only thing you can help with is to know how to write a third-party in the current version you work with, as I recommended you to start using the latest version (0.80.x) because this is the stable version and it will be at short time the version (1.0)
I've now installed flet 0.82. So I'll be notifying u, don't close this.
Then @wangneal , Do what you know.