rounded_loading_button_plus
3.0.1, released 3 years ago by an unverified publisher
Animated button with loading, success and error states for Flutter.
What it does
Provides a button widget that shows a loading spinner when pressed and can transition to success or error animations. A controller lets you trigger success, error, or reset programmatically.
AI-written summary of version 3.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a quick loading indicator on a button press
- You want built‑in success/error feedback without writing custom animations
Skip it when
- You require extensive visual customization beyond the provided options
- You prefer to avoid extra dependencies like rxdart
Strengths
- Simple API with controller
- Built‑in success and error animations
- Works on all Flutter platforms
Weaknesses
- Limited styling beyond preset colors and icons
- Adds rxdart as a dependency
- No code‑generation support
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
import 'package:flutter/material.dart';
import 'package:rounded_loading_button_plus/rounded_loading_button_plus.dart';
final _btnController = RoundedLoadingButtonController();
void _doSomething() async {
Timer(Duration(seconds: 3), () => _btnController.success());
}
RoundedLoadingButton(
child: Text('Tap me!', style: TextStyle(color: Colors.white)),
controller: _btnController,
onPressed: _doSomething,
);Alternatives
Packages that do the same job and could replace rounded_loading_button_plus.
- loading_icon_button
Flutter loading buttons with state machine, success/error states and animated thinking-orbs.
69Compare - flutter_spinkit
A collection of animated loading spinner widgets for Flutter
72Compare - animated_toggle_switch
Fully customizable, draggable and animated switch widget with multiple choices and loading animation.
65Compare - assorted_layout_widgets
Collection of custom layout widgets, behavioral helpers, formatters, and dialog utilities.
93Compare
Works with
Packages commonly used together with rounded_loading_button_plus: ones it builds on, ones built on it, and its own family.