Skip to content

Incompatible with Shortcuts, it seems. #24

@markg85

Description

@markg85

Describe the bug
I'm using Shartcuts to handle non-touch input (like enter).
Like so:

    return Shortcuts(
      shortcuts: <LogicalKeySet, Intent>{
        LogicalKeySet(LogicalKeyboardKey.select): ActivateIntent(),
      },

That ActivateIntent you see comes from the flutter SDK and is required. If i do import 'package:flutter/material.dart' hide Intent; then ActivateIntent doesn't compile anymore.

To Reproduce
Steps to reproduce the behavior:
^^ Above

Expected behavior
Should not break shortcuts.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
Emulator

Smartphone (please complete the following information):
Emulator

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions