isSpaceLike property

bool get isSpaceLike

Whether this key represents a space press for input handling.

This includes KeyType.space as well as a plain space rune.

Implementation

bool get isSpaceLike => type == KeyType.space || isRuneValue(0x20);