InkCell constructor
const
InkCell({
- Key? key,
- Color color = Colors.transparent,
- Color splashColor = const Color(0xFFE0E0E0),
- GestureTapCallback? onTap,
- double circular = 0,
- Widget? child,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- double? height,
- BorderRadius? radius,
- GestureLongPressCallback? onLongPress,
- GestureTapCallback? onDoubleTap,
- GestureTapDownCallback? onTapDown,
- GestureTapCancelCallback? onTapCancel,
- List<
Color> ? shapeColors, - List<
double> ? shapeWidths, - String? tooltip,
Implementation
const InkCell({
Key? key,
this.color = Colors.transparent,
this.splashColor = const Color(0xFFE0E0E0),
this.onTap,
this.circular = 0,
this.child,
this.padding = EdgeInsets.zero,
this.height,
this.radius,
this.onLongPress,
this.onDoubleTap,
this.onTapDown,
this.onTapCancel,
this.shapeColors,
this.shapeWidths,
this.tooltip,
}) : assert(shapeColors == null || shapeColors.length == 4),
assert(shapeWidths == null || shapeWidths.length == 4),
super(key: key);