WidgetRippleButton.child constructor

const WidgetRippleButton.child({
  1. required Widget? child,
  2. Color? color,
  3. Color? hoverColor,
  4. double elevation = 0,
  5. BorderRadius? borderRadius,
  6. double radius = 26,
  7. VoidCallback? onTap,
  8. TextStyle? titleStyle,
  9. Color? shadowColor,
  10. Key? key,
})

Implementation

const WidgetRippleButton.child({
  required this.child,
  this.color,
  this.hoverColor,
  this.elevation = 0,
  this.borderRadius,
  this.radius = 26,
  this.onTap,
  this.titleStyle,
  this.shadowColor,
  super.key,
})  : border = null,
      height = null,
      width = null,
      title = '';