loading_icon_button
1.1.0, released 2 months ago by mohesu.com
Flutter loading buttons with state machine, success/error states and animated thinking-orbs.
What it does
Provides customizable Flutter loading buttons with built-in idle, loading, success, error, and disabled states. Includes animated thinking-orb indicators for AI interfaces and support for controllers and progress indicators.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need buttons that transition through loading, success, and error states
- You want animated thinking-orb indicators for AI or agent interfaces
- You need to drive button states externally via a controller or boolean flags
Skip it when
- You require complex form validation handling directly inside the button
- You only need standard native Material buttons without any loading states
Strengths
- Supports multiple button types (elevated, filled, outlined, text, icon)
- Includes built-in animated thinking-orbs for AI interfaces
- Offers both widget-owned and controller-driven state management
- Pure Dart with zero external dependencies
Weaknesses
- Legacy default dimensions require manual opt-in to content sizing
- Some default colour strategies are not dark-mode safe without explicit configuration
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
LoadingButton(
onPressed: () async => submit(),
onSuccess: () => debugPrint('done'),
child: const Text('Submit'),
)Alternatives
Packages that do the same job and could replace loading_icon_button.
- rounded_loading_button_plus
Animated button with loading, success and error states for Flutter.
50Compare - new_loading_indicator
Provides a collection of loading animations and indicators for Flutter applications.
74Compare - smooth_page_indicator
Customizable animated page indicators with a set of built-in effects for Flutter.
83Compare - motion_toast
A designed toast notification widget with animations and built-in themes.
82Compare