KeyCell.withChild constructor
const
KeyCell.withChild({})
Creates a key with a custom child widget (e.g., an icon).
Implementation
const KeyCell.withChild({
super.key,
this.enableHapticFeedback = false,
this.keyPadding,
required this.keyShape,
this.splashColor,
this.highlightColor,
this.backgroundColor,
this.onTap,
this.child,
required this.value,
this.style,
this.hapticFeedbackType,
}) : _hasChild = true;