any_animated_button 0.0.4 any_animated_button: ^0.0.4 copied to clipboard
Button, which animates between idle, progress and success/error state, indicating that some process is running in the background.
import 'package:example/home_screen.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: HomeScreen(),
);
}
}