- 31 May, 2022 1 commit
-
-
Alexandre Ardhuin authored
* more const immutable classes * more const constructors in dev/ and examples/
-
- 27 May, 2022 5 commits
-
-
Justin McCandless authored
Implements ctrl-T to transpose characters on Mac and iOS
-
Markus Aksli authored
-
Jonah Williams authored
-
Justin McCandless authored
Bug fix for focusing a field with right click on existing selection (Mac and iOS)
-
chunhtai authored
* Fixes a bug when dragging selection handle sends events in wrong coordinates system * remove comments * addressing comments
-
- 26 May, 2022 2 commits
-
-
chunhtai authored
-
Pierre-Louis authored
* Use `curly_braces_in_flow_control_structures` for `widgets` * fix comments * fix comments
-
- 25 May, 2022 7 commits
-
-
Greg Spencer authored
When I was doing the MenuBar implementation, I made some changes to the PlatformMenuBar to allow it to understand shortcuts a little more, and to deprecate the body parameter rename it to child to match most other widgets. These are those changes, separated out because they are separable, and I'm trying to make the MenuBar PR smaller.
-
xubaolin authored
-
Kate Lovett authored
-
Markus Aksli authored
-
Greg Spencer authored
This removes Shorcuts.of and Shortctus.maybeOf because they're not especially useful, since the only thing you can really set on a ShortcutManager is the shortcuts, and the Shortcuts widget that you give it to manages those, so if it rebuilds, it overwrites what you set. Also, adds a Shortcuts.manager constructor and removes the manager argument to the Shortcuts widget. Removing these will also eliminate an InheritedWidget for each Shortcuts widget, improving memory usage.
-
Michael Goderbauer authored
-
Greg Spencer authored
A bunch of random cleanup things I found while doing MenuBar development. Changes an if test to an assert in binding.dart, since the if should always be true. Adds the default ShortcutRegistrar that should have been in the ShortcutRegistry PR. Moves a debug message in the FocusManager to print the result after the focus change instead of before. Reorders the test parameters in theme_data_test.dart to match the order of the theme data fields everywhere else.
-
- 24 May, 2022 3 commits
-
-
chunhtai authored
* Support global selection * addressing comments * add new test * Addressing review comments * update * addressing comments * addressing comments * Addressing comments * fix build
-
Xilai Zhang authored
Revert "Add ability for `ModalRoutes` to ignore pointers during transitions and do so on `Cupertino` routes (#95757)" (#104520) This reverts commit 4c0b0be2.
-
hellohuanlin authored
-
- 20 May, 2022 3 commits
-
-
Casey Hillers authored
-
Renzo Olivares authored
* Add tests * fix tests * updates Co-authored-by:
Renzo Olivares <roliv@google.com>
-
Tong Mu authored
-
- 19 May, 2022 5 commits
-
-
Will Lockwood authored
Add ability for `ModalRoutes` to ignore pointers during transitions and do so on `Cupertino` routes (#95757)
-
Jonah Williams authored
-
Greg Spencer authored
This adds a ShortcutsRegistry for ShortcutActivator to Intent mappings that can be modified from its descendants. This is so that descendants can make shortcuts dynamically available to a larger portion of the app than just their descendants. This is a precursor needed by the new MenuBar, for instance, so that the menu bar itself can be placed where it likes, but the shortcuts it defines can be in effect for most, if not all, of the UI surface in the app. For example, the "Ctrl-Q" quit binding would need to work even if the focused widget wasn't a child of the MenuBar. This just provides the shortcut to intent mapping, the actions activated by the intent are described in the context where they make sense. For example, defining a "Ctrl-C" shortcut mapped to a "CopyIntent" should perform different functions if it happens while a TextField has focus vs when a drawing has focus, so those different areas would need to define different actions mapped to "CopyIntent". A hypothetical "QuitIntent" would probably be active for the entire app, so would be mapped in an Actions widget near the top of the hierarchy.
-
xubaolin authored
-
Justin McCandless authored
-
- 18 May, 2022 1 commit
-
-
Justin McCandless authored
-
- 17 May, 2022 2 commits
-
-
Dan Field authored
-
Greg Spencer authored
This adds a simple VoidCallbackAction and VoidCallbackIntent that allows configuring an intent that will invoke a void callback when the intent is sent to the action subsystem. This allows binding a shortcut directly to a void callback in a Shortcuts widget. I also added an instance of VoidCallbackAction to the default actions so that simply binding a shortcut to a VoidCallbackIntent works anywhere in the app, and you don't need to add a VoidCallbackAction at the top of your app to make it work.
-
- 13 May, 2022 1 commit
-
-
- 12 May, 2022 1 commit
-
-
chunhtai authored
-
- 11 May, 2022 2 commits
-
-
xubaolin authored
-
Renzo Olivares authored
-
- 07 May, 2022 1 commit
-
-
xubaolin authored
-
- 05 May, 2022 3 commits
-
-
chunhtai authored
-
Casey Hillers authored
-
Bruno Leroux authored
-
- 03 May, 2022 2 commits
-
-
fzyzcjy authored
-
Jonah Williams authored
-
- 30 Apr, 2022 1 commit
-
-
chunhtai authored
-