MobiKulWaveButton constructor
const
MobiKulWaveButton({
- Key? key,
- required String text,
- required VoidCallback onPressed,
- double borderRadius = 50.0,
- TextStyle? textStyle,
- Color backgroundColor = Colors.black,
- double verticalPadding = 14.0,
- double horizontalPadding = 42.0,
- Duration duration = const Duration(seconds: 1),
- Curve curve = Curves.easeInOut,
- 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,
});