- 25 Apr, 2019 2 commits
-
-
Greg Spencer authored
This re-lands the Focus changes in #30040. Correctness changes in routes.dart, and removes the automatic requesting of focus on reparent when there is no current focus, which caused undesirable selections. Addresses #11344, #1608, #13264, and #1678 Fixes #30084 Fixes #26704
-
Dan Field authored
* Update packages * Capture JSON RPC errors that presently get swallowed
-
- 23 Apr, 2019 1 commit
-
-
Greg Spencer authored
This reverts commit 4218c0bc.
-
- 22 Apr, 2019 1 commit
-
-
Greg Spencer authored
Implements focus traversal for desktop platforms, including re-implementing the existing focus manager and focus tree. This implements a Focus widget that can be put into a widget tree to allow input focus to be given to a particular part of a widget tree. It incorporates with the existing FocusScope and FocusNode infrastructure, and has minimal breakage to the API, although FocusScope.reparentIfNeeded is removed, replaced by a call to FocusAttachment.reparent(), so this is a breaking change: FocusScopeNodes must now be attached to the focus tree using FocusScopeNode.attach, which takes a context and an optional onKey callback, and returns a FocusAttachment that should be kept by the widget that hosts the FocusScopeNode. This is necessary because of the need to make sure that the focus tree reflects the widget hierarchy. Callers that used to call FocusScope(context).reparentIfNeeded in their build method will call reparent on a FocusAttachment instead, which they will obtain by calling FocusScopeNode.attach in their initState method. Widgets that own FocusNodes will need to call dispose on the focus node in their dispose method. Addresses #11344, #1608, #13264, and #1678 Fixes #30084 Fixes #26704
-
- 29 Mar, 2019 1 commit
-
-
Jonah Williams authored
-
- 28 Mar, 2019 2 commits
-
-
Francisco Magdaleno authored
-
Jonah Williams authored
-
- 18 Mar, 2019 1 commit
-
-
Francisco Magdaleno authored
-
- 15 Mar, 2019 1 commit
-
-
Brian Wilkerson authored
-
- 06 Mar, 2019 1 commit
-
-
Phil Quitslund authored
-
- 01 Mar, 2019 2 commits
-
-
Alexandre Ardhuin authored
* add trailing commas on list/map/parameters * add trailing commas on Invocation with nb of arg>1 * add commas for widget containing widgets * add trailing commas if instantiation contains trailing comma * revert bad change
-
Jonah Williams authored
-
- 22 Feb, 2019 1 commit
-
-
Stanislav Baranov authored
-
- 13 Feb, 2019 1 commit
-
-
Greg Spencer authored
This makes Android raw key event handling use the "character" data coming from the engine properly, and gets rid of the "toLowerCase" hack that I was using to normalize logical key events, in favor of using the new "plainCodePoint" that has the unmodified code point (the code point as if no modifier keys were pressed).
-
- 08 Feb, 2019 1 commit
-
-
Greg Spencer authored
This adds support for logical and physical key information inside of RawKeyEvent. This allows developers to differentiate keys in a platform-agnostic way. They are able to tell the physical location of a key (PhysicalKeyboardKey) and a logical meaning of the key (LogicalKeyboardKey), as well as get notified of the character generated by the keypress. All of which is useful for handling keyboard shortcuts. This PR builds on the previous PR (#27620) which generated the key code mappings and definitions.
-
- 29 Jan, 2019 1 commit
-
-
Jonah Williams authored
-
- 25 Jan, 2019 1 commit
-
-
Dan Field authored
* Update packages * Change test for isFile
-
- 24 Jan, 2019 2 commits
-
-
Jason Simmons authored
This reverts commit 30f33d6c.
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/26544
-
- 22 Jan, 2019 2 commits
-
-
Jonah Williams authored
-
Dan Field authored
* move flutter_assets to App.framework * Roll engine to 05fee4eeee0ff6b219b1fcc394371e5f6963cc46 05fee4eee Update default flutter_assets path for iOS embedding (flutter/engine#7518) 02205db01 Roll src/third_party/skia 5d052dac3ac1..02738a86e5fd (4 commits) (flutter/engine#7541) af907c074 Roll src/third_party/skia 5c7a3ac0e214..5d052dac3ac1 (7 commits) (flutter/engine#7540) dde286673 IWYU to get SkFontMetrics (flutter/engine#7539)
-
- 19 Jan, 2019 2 commits
- 17 Jan, 2019 1 commit
-
- 16 Jan, 2019 1 commit
-
-
Dan Field authored
* move flutter_assets to App.framework * remove flutter_assets references from all pbxproj files checked in
-
- 11 Jan, 2019 1 commit
-
-
Greg Spencer authored
This adds some functions to the interface for RawKeyEventData and all subclasses that allow the recipient of an event to determine which modifier keys are currently being pressed without needing to know the specific modifier bitmasks for the platform. Also adds constants for the modifier bitmasks for each platform, for completeness (and because I needed them anyhow to implement the above). Added tests for the RawKeyEventData subclasses, and modified the raw_keyboard manual test app to show modifier keys being pressed. I also separated the different platform-specific subclasses into separate files. Fixes #26155.
-
- 02 Jan, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 06 Nov, 2018 3 commits
-
-
Jonah Williams authored
-
Jonah Williams authored
This reverts commit 71e9bd6f.
-
Jonah Williams authored
-
- 02 Nov, 2018 3 commits
-
-
Hans Muller authored
This reverts commit 76a1abd4.
-
Hans Muller authored
-
Jonah Williams authored
This reverts commit 949cfcf1.
-
- 01 Nov, 2018 1 commit
-
-
Hans Muller authored
-
- 31 Oct, 2018 1 commit
-
-
Dan Field authored
* Use Xcode build configurations to drive Flutter build mode * Proper check wrt local_engine, print error if profile mode misisng * Remove unused code, update tests, fix template problem, update warning * fix up warning * add explanatory dev comment * fix whitespace * missing words, change lambda arrow to function body * error indentation * Test early exits for xcode_backend.sh * only on macOS, use right test * Update error messages * case insensitive compare for build config * Update gallery podfile * update projects to add profile configuration * make compatible with flavors * add missing plist files * add FLUTTER_FRAMEWORK_DIR back, set swift version for profile, tell Podfile about profile
-
- 30 Oct, 2018 2 commits
-
-
Dan Field authored
* Use Xcode build configurations to drive Flutter build mode * Proper check wrt local_engine, print error if profile mode misisng * Remove unused code, update tests, fix template problem, update warning * fix up warning * add explanatory dev comment * fix whitespace * missing words, change lambda arrow to function body * error indentation * Test early exits for xcode_backend.sh * only on macOS, use right test * Update error messages * case insensitive compare for build config * Update gallery podfile * update projects to add profile configuration * make compatible with flavors * add missing plist files
- 20 Oct, 2018 1 commit
-
-
Stanislav Baranov authored
-
- 18 Oct, 2018 2 commits
-
-
Sebastian Roth authored