Skip to content

Keyboard key press Dynamic Variant #80

Description

@bdlukaa

This would be a variant that would react to a keyboard key press. It'd be something like:

final mix = Mix(
  key(LogicalKeyboardKey.enter)(
    bgColor(Colors.red),
  ),
);

The key(<LogicalKeyboardKey>) would make the following possible:

Mix(
  (hover & key(LogicalKeyboardKey.enter) & ...)(
  ),
);

Pressable could be used to handle this, or maybe a new widget could also be created

See also:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions