fancy_animated_button 0.0.14
fancy_animated_button: ^0.0.14 copied to clipboard
Fancy Animated Button package lets you add a different type of beautiful animated button to your Flutter app.
Fancy Animated Button #
Fancy Animated Button package lets you add a beautiful animated button to your Flutter app.
Installation #
- Add the latest version of package to your pubspec.yaml (and run
dart pub get
):
dependencies:
fancy_animated_button: ^0.0.14
- Import the package and use it in your Flutter App.
import 'package:fancy_animated_button/fancy_animated_button.dart';
class FancyAnimatedButtonScreen extends StatelessWidget {
const FancyAnimatedButtonScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Fancy Animated Button Screen'),
backgroundColor: Colors.cyan,
),
body: FancyAnimatedButton(
onClick: () {},
));
}
}
|
Parameters #
required #
onClick
Once user click on button some action perform
optional #
title
set title text of button
textColor
set text color of animation text in button
isAnimated
animation display or not bydefault true
animationTimerMS
set timer of animation duration
Next Goals #
- ✅ Add multiple animation in button.