PrettyWaveButton constructor

const PrettyWaveButton({
  1. Key? key,
  2. required Widget child,
  3. required VoidCallback onPressed,
  4. double borderRadius = s50,
  5. Color backgroundColor = kBlack,
  6. double verticalPadding = s14,
  7. double horizontalPadding = s42,
  8. Duration duration = duration1000,
  9. Curve curve = Curves.easeInOut,
  10. double waveLength = s6,
})

Implementation

const PrettyWaveButton({
  super.key,
  required this.child,
  required this.onPressed,
  this.borderRadius = s50,
  this.backgroundColor = kBlack,
  this.verticalPadding = s14,
  this.horizontalPadding = s42,
  this.duration = duration1000,
  this.curve = Curves.easeInOut,
  this.waveLength = s6,
});