InkW constructor
const
InkW({
- Key? key,
- Widget? child,
- double elevation = 0,
- dynamic onTap()?,
- dynamic onTapDown(
- TapDownDetails? details
- dynamic onTapUp(
- TapUpDetails? details
- dynamic onLongPress()?,
- dynamic onDoubleTap()?,
- EdgeInsetsGeometry? padding,
- Color? color,
- Color? splash,
- Color? highlightColor,
- BorderRadius? borderRadius,
- EdgeInsetsGeometry? margin,
- ShapeBorder? shape,
- bool enableSplash = true,
- bool splashByBaseColor = false,
- BoxBorder? border,
- double opacity = 1,
Implementation
const InkW(
{Key? key,
this.child,
this.elevation = 0,
this.onTap,
this.onTapDown,
this.onTapUp,
this.onLongPress,
this.onDoubleTap,
this.padding,
this.color,
this.splash,
this.highlightColor,
this.borderRadius,
this.margin,
this.shape,
this.enableSplash = true,
this.splashByBaseColor = false,
this.border,
this.opacity = 1})
: super(key: key);