Skip to content

How do you prevent ExpandableFab from animating to position? #47

@lkomanetz

Description

@lkomanetz

I have code where the FAB exists or not based on some condition. The ExpandableFab will animate from the center to the position when Scaffold's floatingActionButton property changes between ExpandableFab or null. I don't see any property that I can use to prevent this behavior.

return Scaffold(
    floatingActionButton: (anySelected) ? fab : null,
);
20250904-1907-16.0310880.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions