XInkWell constructor

const XInkWell({
  1. Key? key,
  2. Widget? child,
  3. GestureTapCallback? onTap,
  4. BorderRadius? borderRadius,
  5. double padding = 0,
  6. Color? splashColor,
  7. Color highlightColor = Colors.transparent,
  8. GestureTapDownCallback? onTapDown,
  9. GestureLongPressCallback? onLongPress,
})

Implementation

const XInkWell({
  Key? key,
  this.child,
  this.onTap,
  this.borderRadius,
  this.padding = 0,
  this.splashColor, //水波颜色
  this.highlightColor = Colors.transparent, //高亮颜色
  this.onTapDown,
  this.onLongPress,
}) : super(key: key);