These is an awesome loading button without external dependencies
Features
Getting started
These is a very simple to use package.
Usage
Example
AwesomeLoadingButton(
loadingIndicatorColor: Colors.blue,
loadingIndicatorValueColor: const AlwaysStoppedAnimation(
Colors.blueAccent,
),
onPressed: () async {
await Future.delayed(
const Duration(
seconds: 5,
),
);
},
text: 'Fetch',
),
Additional information
Feel free to contribute by creating a pull request. I am always available.