Skip to content
pubscout

flutter_animated_button

2.0.4, released 2 years ago by an unverified publisher

A Flutter package containing a collection of animated buttons with customizable transitions.

WASM-ready
$ flutter pub add flutter_animated_button
Source repository

What it does

Provides ready-to-use animated button widgets (`AnimatedButton` and `AnimatedButton.strip`) that support various transition types, border configurations, text styles, and hover/tap animations.

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

Use it when

  • You need custom animated buttons with entrance and transition effects upon tap or hover.
  • You want to quickly add styled buttons with distinct background and text color transformations.

Skip it when

  • You need standard Material design buttons without custom animated background reveals.
  • Your design system calls for complex bespoke animations not covered by the pre-configured transition types.

Strengths

  • Provides numerous built-in transition types and rounder shapes.
  • Supports null safety and web, desktop, and mobile platforms.
  • Easy customization of colors, borders, and text styles.

Weaknesses

  • Limited to button animations specifically supplied by the package.
  • Not a general-purpose animation library for arbitrary widgets.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
AnimatedButton(
  width: 200,
  text: 'SUBMIT',
  selectedTextColor: Colors.black,
  transitionType: TransitionType.BOTTOM_TO_TOP,
  textStyle: TextStyle(
    fontSize: 28,
    letterSpacing: 5,
    color: Colors.deepOrange,
    fontWeight: FontWeight.w300,
  ),
)

Alternatives

Packages that do the same job and could replace flutter_animated_button.