RippleButton constructor
RippleButton(
- String text, {
- dynamic onPressed()?,
- bool isEnabled = true,
- EdgeInsets padding = EdgeInsets.zero,
- String? heroTag,
- RippleButtonType type = RippleButtonType.NONE,
- RippleButtonStyle style = const RippleButtonStyle(),
- RippleButtonColor color = const RippleButtonColor(),
- RippleButtonBorder border = const RippleButtonBorder(),
- Widget? icon,
Implementation
RippleButton(
this.text, {
this.onPressed,
this.isEnabled = true,
this.padding = EdgeInsets.zero,
this.heroTag,
this.type = RippleButtonType.NONE,
this.style = const RippleButtonStyle(),
this.color = const RippleButtonColor(),
this.border = const RippleButtonBorder(),
this.icon,
});