XInkWell constructor
const
XInkWell({
- Key? key,
- Widget? child,
- GestureTapCallback? onTap,
- BorderRadius? borderRadius,
- double padding = 0,
- Color? splashColor,
- Color highlightColor = Colors.transparent,
- GestureTapDownCallback? onTapDown,
- 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);