1. 02 Sep, 2022 1 commit
  2. 03 Aug, 2022 2 commits
  3. 25 May, 2022 1 commit
    • Pierre-Louis's avatar
      Use `curly_braces_in_flow_control_structures` for non-`flutter` packages (#104629) · 74cfc3db
      Pierre-Louis authored
      * Use `curly_braces_in_flow_control_structures` for `packages/flutter_driver`
      
      * Use `curly_braces_in_flow_control_structures` for `packages/flutter_goldens`
      
      * Use `curly_braces_in_flow_control_structures` for `packages/flutter_goldens_client`
      
      * Use `curly_braces_in_flow_control_structures` for `packages/flutter_localizations`
      
      * Use `curly_braces_in_flow_control_structures` for `packages/flutter_test`
      
      * Use `curly_braces_in_flow_control_structures` for `packages/flutter_web_plugins`
      
      * fix comments
      
      * Use `curly_braces_in_flow_control_structures` for `packages/integration_test`
      
      * fix indentation
      74cfc3db
  4. 03 May, 2022 1 commit
  5. 16 Mar, 2022 1 commit
  6. 03 Feb, 2022 1 commit
  7. 13 Jan, 2022 1 commit
  8. 03 Dec, 2021 1 commit
  9. 11 Oct, 2021 1 commit
  10. 08 Oct, 2021 3 commits
  11. 15 Sep, 2021 1 commit
  12. 29 Jul, 2021 2 commits
  13. 28 Jul, 2021 1 commit
  14. 26 Jul, 2021 1 commit
  15. 20 Jul, 2021 1 commit
  16. 21 May, 2021 1 commit
  17. 19 May, 2021 1 commit
  18. 14 May, 2021 1 commit
  19. 13 May, 2021 1 commit
  20. 04 May, 2021 2 commits
  21. 26 Apr, 2021 1 commit
  22. 23 Apr, 2021 1 commit
  23. 01 Apr, 2021 1 commit
  24. 28 Mar, 2021 1 commit
  25. 27 Mar, 2021 1 commit
  26. 24 Mar, 2021 2 commits
  27. 06 Mar, 2021 1 commit
  28. 25 Feb, 2021 1 commit
  29. 22 Oct, 2020 1 commit
    • puelo's avatar
      Generate RawKeyEvents for iOS 13.4+ (#65193) · 24d39997
      puelo authored
      * Added RawKeyEvent support for iOS
      
      * Removed unused remnant
      
      * added some missing keys
      
      * Removed trailing whitespaces
      
      * commit for build
      
      * Added mapping names
      
      * Made iOS keycodes generatable and collectable
      
      * Fixed naming and formatting issues
      
      * fixed raw_keyboard_test
      24d39997
  30. 19 Oct, 2020 1 commit
    • Greg Spencer's avatar
      Mark keys that match a shortcut, but have no action defined as "not handled". (#67359) · 8c03ff8c
      Greg Spencer authored
      - - When I added notification of key events before processing them as text, it made it so that shortcut key bindings like the spacebar would prevent spaces from being inserted into text fields, which is obviously not desirable (and so that change was reverted). At the same time, we do want to make it possible to override key events so that they can do things like intercept a tab key or arrow keys that change the focus.
      
      This PR changes the behavior of the Shortcuts widget so that if it has a shortcut defined, but no action is bound to the intent, then instead of responding that the key is "handled", it responds as if nothing handled it. This allows the engine to continue to process the key as text entry.
      
      This PR includes:
      
      - Modification of the callback type for key handlers to return a KeyEventResult instead of a bool, so that we can return more information (i.e. the extra state of "stop propagation").
      - Modification of the ActionDispatcher.invokeAction contract to require that Action.isEnabled return true before calling it. It will now assert if the action isn't enabled when invokeAction is called. This is to allow optimization of the number of calls to isEnabled, since the shortcuts widget now wants to know if the action was enabled before deciding to either handle the key or to return ignored.
      - Modification to ShortcutManager.handleKeypress to return KeyEventResult.ignored for keys which don't have an enabled action associated with them.
      - Adds an attribute to DoNothingAction that allows it to mark a key as not handled, even though it does have an action associated with it. This will allow disabling of a shortcut for a subtree.
      8c03ff8c
  31. 01 Oct, 2020 1 commit
  32. 16 Sep, 2020 1 commit
  33. 15 Sep, 2020 1 commit
    • Greg Spencer's avatar
      Fix the `character` field of the `RawKeyEvent` to hold correct data on... · 199a7c19
      Greg Spencer authored
      Fix the `character` field of the `RawKeyEvent` to hold correct data on non-Android platforms. (#65667)
      
      This fixes a problem where the character field of the RawKeyEvent was not being set at all for non-Android platforms.
      
      I also updated the key maps, and corrected a problem with the Windows key map where the backquote character wasn't correctly mapped.
      199a7c19
  34. 19 Aug, 2020 1 commit
    • Greg Spencer's avatar
      Standardize the nullability of arguments to raw key data constructors. (#63523) · 041a3eaa
      Greg Spencer authored
      This standardizes the handling of nullability for the LogicalKeyboardKey.keyLabel and RawKeyEventData.keyLabel accessors so that they are non-nullable, but can be empty.
      
      Before this change, the keyLabel could be either null or an empty string to indicate that there wasn't a label, which makes it harder to test for, since both need to be checked for. Since an empty string is sufficient, there is no need for it to be nullable.
      
      Also, in raw_keyboard.dart, the web and Windows implementations wouldn't accept null values for parameters in the Map coming from the message, but tests were supplying null for some of them. This makes web and Windows creation of events match the other platforms, and makes the migration of tests to non-nullability easier.
      041a3eaa