AnimatedBorderButton constructor

const AnimatedBorderButton({
  1. Key? key,
  2. required Animation<double> animation,
  3. required Curve curve,
  4. required double verticalPadding,
  5. required double horizontalPadding,
  6. required double borderRadius,
  7. required double waveLength,
  8. required Color backgroundColor,
  9. required Widget child,
})

Implementation

const AnimatedBorderButton({
  super.key,
  required this.animation,
  required this.curve,
  required this.verticalPadding,
  required this.horizontalPadding,
  required this.borderRadius,
  required this.waveLength,
  required this.backgroundColor,
  required this.child,
}) : super(
        listenable: animation,
      );