capabilities property

  1. @override
BackendCapabilities get capabilities
override

Implementation

@override
BackendCapabilities get capabilities {
  final n = native.capabilities;
  final flutter = route != InputRoute.device && runtime != null;
  return BackendCapabilities(
    tap: n.tap || flutter,
    longPress: n.longPress || flutter,
    doubleTap: n.doubleTap || flutter,
    swipe: n.swipe || flutter,
    typeText: n.typeText || flutter,
    keys: n.keys || flutter,
    record: n.record,
    hardwareButtons: n.hardwareButtons,
  );
}