Skip to content
pubscout

animated_float_action_button

1.0.4, released 3 years ago by an unverified publisher

Allows you to create a collapsible list of float buttons with animations.

WASM-ready
$ flutter pub add animated_float_action_button
Source repository

What it does

Provides a widget to display an animated collapsible list of floating action buttons. It handles opening and closing animations through a main trigger button.

AI-written summary of version 1.0.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a collapsible menu of floating action buttons on your screen.
  • You want to animate between a menu icon and a close icon while revealing multiple options.

Skip it when

  • You only need a single static FloatingActionButton.
  • You require complex custom transitions not supported by the package's built-in animations.

Strengths

  • Easy to implement collapsible float action buttons.
  • Includes support for text labels next to individual buttons.

Weaknesses

  • Limited customization documented beyond standard icons and colors.
  • Minimal documentation and usage details outside the basic example.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

final GlobalKey<AnimatedFloatingActionButtonState> fabKey = GlobalKey();

Scaffold(
    floatingActionButton: AnimatedFloatingActionButton(
        key: fabKey,
        fabButtons: <Widget>[
            add(), 
            image(),
            inbox(),
        ],
        colorStartAnimation: Colors.blue,
        colorEndAnimation: Colors.red,
        animatedIconData: AnimatedIcons.menu_close
    ),
)

Alternatives

Packages that do the same job and could replace animated_float_action_button.