comicTouchEditing function

bool comicTouchEditing(
  1. TargetPlatform platform
)

Whether platform edits by touch: handles and a menu over the selection, rather than a pointer's right-click menu.

Implementation

bool comicTouchEditing(TargetPlatform platform) => switch (platform) {
  TargetPlatform.android ||
  TargetPlatform.fuchsia ||
  TargetPlatform.iOS => true,
  TargetPlatform.macOS ||
  TargetPlatform.windows ||
  TargetPlatform.linux => false,
};