Fancy Animated Button

Fancy Animated Button package lets you add a beautiful animated button to your Flutter app.

Installation

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  fancy_animated_button: ^0.0.14
  1. 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

  • x Add multiple animation in button.