ButtonTapAnimation constructor

const ButtonTapAnimation({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(milliseconds: 200),
  4. double scaleValue = 0.95,
})

Constructor for the ButtonTapAnimation widget.

Implementation

const ButtonTapAnimation({
  super.key,
  required this.child,
  this.duration = const Duration(milliseconds: 200),
  this.scaleValue = 0.95,
});