- 23 Aug, 2019 3 commits
-
-
Hans Muller authored
-
Greg Spencer authored
This fixes the hashCode calculation for KeySet<T> so that it doesn't depend on the insertion order of the keys in the set. The fix involves switching from Set<T> to HashSet<T> internally, so that the iteration order is stable around the hash values of the inserted keys, and not the insertion order. This matters when hashList is called in KeySet<T>.hashCode to build the hash value of the contents of the internal set. Fixes #38919
-
Michael Goderbauer authored
TweenAnimationBuilder for building custom animations without managing an AnimationController (#38317)
-
- 22 Aug, 2019 2 commits
-
-
Shi-Hao Hong authored
-
Shi-Hao Hong authored
* Wire Window.systemGestureInsets to MediaQuery.systemGestureInsets * Add systemGestureInsets property to TestWindow
-
- 21 Aug, 2019 5 commits
-
-
LongCatIsLooong authored
-
Nigel Gott authored
-
Hans Muller authored
-
Greg Spencer authored
This reverts commit a11d7314 because of a regression in flutter_gallery_ios32__transition_perf's 90th_percentile_frame_build_time_millis. Fixes #38860.
- 20 Aug, 2019 1 commit
-
-
chunhtai authored
-
- 19 Aug, 2019 1 commit
-
-
Gary Qian authored
-
- 16 Aug, 2019 7 commits
-
-
Greg Spencer authored
* Add an 'unfocusable' focus node to allow developers to indicate when they don't want a Focus widget to be active * more unfocusable changes. not working. * Switch to focusable attribute * Rename to canRequestFocus * Turn off debug output * Update docs * Removed unused import
-
Yegor authored
Teach Layer and its implementations, RenderObject and its implementations, and PaintingContext to reuse engine layers. The idea is that a concrete RenderObject creates a Layer and holds on to it as long as it needs it (i.e. when it is composited, and the layer type does not change). In return, each Layer object holds on to an EngineLayer and reports it to the engine via addRetained and oldLayer. This allows the Web engine to reuse DOM elements across frames. Without it, each frame drops all previously rendered HTML and regenerates it from scratch.
-
Chris Yang authored
-
Kate Lovett authored
-
Nurhan Turgut authored
* Broadcasting popRoute and pushRoute methods via SystemChannels.navigation. These messages will be used in flutter_web to detect the route * Broadcasting popRoute and pushRoute methods via SystemChannels.navigation. These messages will be used in flutter_web to detect the route * Reverting all unrelated formatting changes. * Adding unit tests. Adding more comments. * Changing string method names with constant strings. * Fixing a constant strings. * Fixing analyzer error. * Fixing more white space. * Changing the method names. Adding comments to the SystemChannels * Comment and code name fixes * replacing the comment with reviewer suggestion. * addinf systemchannels.navigation mock to test bindings * Adding a new class for sending route change notrifications. The nottifications are only sent on web. This should fix breaking android/ios * using new class RouteNotificationMessages in navigator * Fixing analyzer issues. * fixing cycle dependency * fixing github analyze error * dartfmt two new classes. trying to fix anayze errors * Update route_notification_messages.dart * trying to fix white space errors
-
Chris Yang authored
-
Greg Spencer authored
This adds a FocusHighlightMode to the FocusManager that switches based on the type of input that has recently been received. The initial value is based on the platform, but is updated as soon as user input is received. There is also a FocusHighlightStrategy enum so that the developer can change the strategy to a fixed value if needed. The default is to automatically detect the mode based on the last type of user input. If they use a mouse or keyboard, it shows the focus highlights. If they use a touch interface, then the highlights disappear. This is consistent with the way that Android and Chrome work. The controls still receive focus, only the display of the highlight changes. Text fields show the focus highlight regardless of the focus highlight mode.
-
- 15 Aug, 2019 1 commit
-
-
Chris Yang authored
PlatformViewLink, handling creation of the PlatformViewSurface and dispose PlatformViewController (#37703) * link * review fixes * review fixes * remove extra line
-
- 12 Aug, 2019 1 commit
-
-
Greg Spencer authored
This improves the ability to debug focus manager issues. It's not meant to be used by developers unless they're debugging problems with the focus manager itself.
-
- 09 Aug, 2019 4 commits
-
-
Michael Klimushyn authored
This reverts commit 92ef2b9c. This requires either runApp() or WidgetsFlutterBinding.ensureInitialized() to have been called before using any MethodChannels. Plugins broadly rely on MethodChannels and right now there's no general requirements that they be constructed within the runApp call, so the ecosystem breakages from this are broader than originally thought. Reverting for now.
-
Kate Lovett authored
This reverts commit 3a2d3081.
-
adazh authored
-
chunhtai authored
-
- 08 Aug, 2019 3 commits
-
-
Tong Mu authored
This PR fixes an issue where MouseRegion crashes when being passed with closures instead of methods. It changes how a RenderMouseRegion handles its MouseTrackingAnnotation. Instead of creating a new annotation every time it becomes active and destroys it when deactivated, it now creates an annotation during the constructor and holds onto it until the end of its lifecycle. Instead of directly passing the argument callbacks to the annotation, it proxies them using methods.
-
Tong Mu authored
Fix an issue where MouseRegion will render its children twice.
-
Justin McCandless authored
(Breaking Change) Move some hardcoded pixel values to reusable constants.
-
- 07 Aug, 2019 2 commits
-
-
Kate Lovett authored
-
Tong Mu authored
Guard removePointer with addTearDown to avoid cascading test crash.
-
- 06 Aug, 2019 1 commit
-
-
Chris Yang authored
-
- 03 Aug, 2019 1 commit
-
-
stuartmorgan authored
NeverScrollableScrollPhysics should prevent all scrolling, but the new scrollwheel codepath wasn't checking it. Fixes #35304
-
- 02 Aug, 2019 1 commit
-
-
Chris Yang authored
* painting and semantics * more comments * fixing ci * review fixes * add assert for id * rename custom layer factory to layer builder * review updates * partial review fixes * some doc updates * more doc updates * only expose getter for id in PlatformViewController * doc updates/removing all the references * remove extra * more doc updates * some doc updates * more doc fixes * review fixes
-
- 01 Aug, 2019 4 commits
-
-
chunhtai authored
reland Enable selection by default for password text field and expose api to turn on and off context menu options (#37324)
-
Tong Mu authored
- Splits on{Enter,Hover,Exit} from Listener to MouseRegion. Deprecated API is kept for compatibility. - Splits on{Enter,Hover,Exit} from RenderPointerListener to RenderMouseRegion.
-
Yegor authored
-
Chris Yang authored
-
- 31 Jul, 2019 3 commits
-
-
Michael Goderbauer authored
-
Justin McCandless authored
This allows the text selection menu to be shown after deleting all text in a text field.
-
Michael Goderbauer authored
Revert "reland Enable selection by default for password text field and expose api to turn on and off context menu options (#34676) (#37183)" (#37295) This reverts commit 7eb09a84.
-