KeyCell constructor

KeyCell({
  1. Key? key,
  2. bool enableHapticFeedback = false,
  3. EdgeInsets? keyPadding,
  4. required BoxShape keyShape,
  5. Color? splashColor,
  6. Color? highlightColor,
  7. Color? backgroundColor,
  8. void onTap(
    1. String
    )?,
  9. required String value,
  10. TextStyle? style,
  11. HapticFeedbackType? hapticFeedbackType,
})

Implementation

KeyCell({super.key,
  this.enableHapticFeedback = false,
  this.keyPadding,
  required this.keyShape,
  this.splashColor,
  this.highlightColor,
  this.backgroundColor,
  this.onTap,
  required this.value,
  this.style, this.hapticFeedbackType,
})  : child = Offstage(),
      _hasChild = false;