AnimatedButton constructor

const AnimatedButton({
  1. Key? key,
  2. required String text,
  3. required Function? onPressed,
  4. required AnimationController? controller,
  5. Color? loadingColor,
  6. Color? color,
})

Implementation

const AnimatedButton({
  Key? key,
  required this.text,
  required this.onPressed,
  required this.controller,
  this.loadingColor,
  this.color,
}) : super(key: key);