InputOverlay constructor

const InputOverlay({
  1. Key? key,
  2. required int orientation,
  3. BoardSize size = BoardSize.standard,
  4. void onSecondaryTap(
    1. int i
    )?,
  5. void onSecondaryTapDown(
    1. int i,
    2. TapDownDetails details
    )?,
  6. void onSecondaryTapUp(
    1. int i,
    2. TapUpDetails details
    )?,
  7. void onSecondaryTapCancel(
    1. int i
    )?,
  8. void onLongPress(
    1. int i
    )?,
  9. void onLongPressStart(
    1. int i,
    2. LongPressStartDetails details
    )?,
  10. void onLongPressMoveUpdate(
    1. int i,
    2. LongPressMoveUpdateDetails details
    )?,
  11. void onLongPressEnd(
    1. int i,
    2. LongPressEndDetails details
    )?,
  12. void onLongPressUp(
    1. int i
    )?,
  13. void onDoubleTap(
    1. int i
    )?,
})

Implementation

const InputOverlay({
  super.key,
  required this.orientation,
  this.size = BoardSize.standard,
  this.onSecondaryTap,
  this.onSecondaryTapDown,
  this.onSecondaryTapUp,
  this.onSecondaryTapCancel,
  this.onLongPress,
  this.onLongPressStart,
  this.onLongPressMoveUpdate,
  this.onLongPressEnd,
  this.onLongPressUp,
  this.onDoubleTap,
});