Expandable Widget

Feedback

Hi FlutterFlow Team,

I believe that the Expandable widget could be made even more powerful and versatile with a few additional features and actions.

Here are some suggestions:

  1. Programmatic Expand/Collapse Control:

    • Introduce the ability to dynamically expand or collapse the widget via actions. This would enable developers to control the expansion based on external events or interactions.

  2. Collapse on Outside Tap:

    • Add a parameter to automatically collapse when the user taps outside of the widget. This is a common behavior in dropdowns or expandable menus, which would greatly enhance the user experience.

  3. Expand/Collapse State Listener:

    • Provide an event listener for expand/collapse actions. This would allow developers to perform specific actions, such as updating data or triggering animations, when the state changes.

  4. Custom Expand/Collapse Icons:

    • Enable customization of expand/collapse icons or widgets. Allowing developers to replace default indicators with custom elements will ensure consistency with the app’s visual theme.

  5. Nested Expandable Support:

    • Add support for nesting expandable widgets to create more complex layouts that can independently expand or collapse.

  6. Initial State Configuration:

    • Allow the widget to be configured to start as expanded or collapsed conditionally, based on specific settings or logic.

These features would greatly enhance the Expandable widget, making it more versatile for different scenarios and encouraging broader use.

Thank you for considering these suggestions!

9
5 replies