Flutter animated button package: Elegant UI interactions with smooth animations, customizable styles, and seamless integration across the platforms.
Features
-
Gives visual feedbacks on tap
-
Higly customizable in any way
- Height
- Width
- Color
- Animation
- TextStyle
- BorderRadius
-
Various Animation on tap
Getting started
Add the latest version of package to your pubspec.yaml (and run dart pub get):
dependencies:
animbutton: ^latest_version
Usage
class Example extends StatelessWidget {
const Example({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: AnimButton(
buttonColor: Colors.black,
height: 45.0,
width: 120.0,
label: 'Anim Button',
onPressed: () {
debugPrint("Button Tapped");
}),
);
}
}