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:
This would be a variant that would react to a keyboard key press. It'd be something like:
The
key(<LogicalKeyboardKey>)would make the following possible:Pressablecould be used to handle this, or maybe a new widget could also be createdSee also: