-
Greg Spencer authored
This adds a new navigationMode to the MediaQueryData that indicates how focusable controls should behave under different navigation modes, currently with two modes: NavigationMode.traditional, and NavigationMode.directional. It may seem like focusing a disabled control is not desirable, but this is useful for user interfaces that use DPAD navigation because if a control gets disabled, losing focus is disruptive to the user, and it is difficult to control where the focus will end up unless it is done explicitly.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
lib | ||
test | ||
BUILD.gn | ||
LICENSE | ||
README.md | ||
build.yaml | ||
pubspec.yaml |