MobiKulWaveButton constructor

const MobiKulWaveButton({
  1. Key? key,
  2. required String text,
  3. required VoidCallback onPressed,
  4. double borderRadius = 50.0,
  5. TextStyle? textStyle,
  6. Color backgroundColor = Colors.black,
  7. double verticalPadding = 14.0,
  8. double horizontalPadding = 42.0,
  9. Duration duration = const Duration(seconds: 1),
  10. Curve curve = Curves.easeInOut,
  11. double waveLength = 6.0,
})

Creates a MobiKulWaveButton with the given properties.

Implementation

const MobiKulWaveButton({
  super.key,
  required this.text,
  required this.onPressed,
  this.borderRadius = 50.0,
  this.textStyle,
  this.backgroundColor = Colors.black,
  this.verticalPadding = 14.0,
  this.horizontalPadding = 42.0,
  this.duration = const Duration(seconds: 1),
  this.curve = Curves.easeInOut,
  this.waveLength = 6.0,
});