I would like to implement a floating action button that animates between extended and normal sizes, as seen in androids messenger app: https://blog.usejournal.com/expand-collapse-fab-on-scrolling-like-googles-message-app-484df2d9d246
How can I achieve this? I'm currently looking into using AnimatedSwitcher, FloatingActionButton.extended and FloatingActionButton widgets.
There is a package that does the behavior you expect. Here it is https://pub.dev/packages/flutter_scrolling_fab_animated