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.
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.
- staggered_grid_view_flutter
A Flutter widget for creating staggered grid layouts.
36Compare - motion_toast
A designed toast notification widget with animations and built-in themes.
82Compare - new_loading_indicator
Provides a collection of loading animations and indicators for Flutter applications.
74Compare - flutter_multiple_loaders
A collection of customizable standard and innovative loading animation widgets.
61Compare