isKeyboardOS function

bool isKeyboardOS([
  1. TargetPlatform? targetPlatform
])

Implementation

bool isKeyboardOS([TargetPlatform? targetPlatform]) {
  targetPlatform ??= defaultTargetPlatform;
  return isDesktop(targetPlatform) || targetPlatform == TargetPlatform.fuchsia;
}