Skip to content
pubscout

animated_floating_buttons

0.0.2, released 5 years ago by an unverified publisher

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

WASM-ready
$ flutter pub add animated_floating_buttons
Source repository

What it does

Provides a widget to display a collapsible and expandable list of floating action buttons with built-in animations. It allows you to group multiple floating buttons under a single primary animated icon button.

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

Use it when

  • You need to display multiple floating action buttons on a screen without cluttering the UI.
  • You want an animated menu triggered from a floating action button.

Skip it when

  • You require complex custom transitions beyond the built-in animated icon setup.
  • You are not using Material design floating action buttons.

Strengths

  • Easy to set up and use with existing FloatingActionButtons.
  • Includes open/close icon animations out of the box.

Weaknesses

  • Requires providing a unique heroTag parameter to every new FAB to avoid exceptions.
  • Limited documentation and very early version (0.0.2).

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

final GlobalKey<AnimatedFloatingActionButtonState> key = GlobalKey<AnimatedFloatingActionButtonState>();

Scaffold(
    floatingActionButton: AnimatedFloatingActionButton(
        fabButtons: <Widget>[float1(), float2()],
        key: key,
        colorStartAnimation: Colors.blue,
        colorEndAnimation: Colors.red,
        animatedIconData: AnimatedIcons.menu_close,
    ),
)

Alternatives

Packages that do the same job and could replace animated_floating_buttons.