easy_loading_button
0.4.0, released a year ago by usefulteam.com
A customizable Material button widget with built-in loading states and width animations.
What it does
Provides a Material button (elevated, outlined, or text) that transitions smoothly between idle and loading states, optionally animating its width and displaying custom loading widgets.
AI-written summary of version 0.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a button that shows a loading indicator and changes state when pressed.
- You want support for elevated, outlined, and text button styles with integrated loading states.
Skip it when
- You need complex form validation before triggering the button action.
- You prefer implementing custom loading state animations manually using standard Flutter buttons.
Strengths
- Supports multiple button types (elevated, outlined, text).
- Built-in width and dimension animations for loading states.
- Supports both internal and external button state management.
Weaknesses
- Limited to Material buttons.
- Not documented for non-Material design systems.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
EasyButton(
type: EasyButtonType.elevated,
idleStateWidget: const Text(
'Elevated Button',
style: TextStyle(color: Colors.white),
),
loadingStateWidget: const CircularProgressIndicator(
strokeWidth: 3.0,
valueColor: AlwaysStoppedAnimation<Color>(Colors.white),
),
width: 150.0,
height: 40.0,
onPressed: () {},
)Alternatives
Packages that do the same job and could replace easy_loading_button.
- progress_state_button
A customizable progress button widget with multiple states for Flutter.
50Compare - flutter_easyloading
Lightweight, customizable loading and toast overlay for Flutter without BuildContext.
71Compare - rounded_loading_button_plus
Animated button with loading, success and error states for Flutter.
50Compare - sn_progress_dialog
Customizable progress dialog package for Flutter that captures the progress value.
75Compare
Works with
Packages commonly used together with easy_loading_button: ones it builds on, ones built on it, and its own family.