-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Feature Request: Implicitly-Animated Children
Need
When I toggle a flag to show or hide a widget inside ResizableContainer, the child pops in/out with no transition. It would be great if the package could animate that change automatically (à la AnimatedSwitcher).
Suggested API
ResizableContainer(
size: _size,
animateChildren: true, // NEW – defaults to false
childTransitionBuilder: _, // optional custom transition
child: …,
)If animateChildren is true, the container wraps its child in an implicit animation (fade / scale by default) whenever the child or ResizeableSize changes for example.
Why
Smoother UX for simple show/hide use-cases.
Backwards-compatible: existing code keeps working with animateChildren left at false.
Thanks for considering!
Metadata
Metadata
Assignees
Labels
No labels