- 28 Apr, 2016 2 commits
-
-
Hans Muller authored
-
Adam Barth authored
Cassowary doesn't have any additional dependencies and this simplifies things. Fixes #2442
-
- 27 Apr, 2016 8 commits
-
-
Adam Barth authored
Some inherited widgets want to call this function direction, for example to notify children when a mutable model object changes. Exposing this function to subclasses of InheritedWidget is clear then forcing them to compute updateShouldNotify for mutable model objects.
-
Adam Barth authored
Rather that importing `package:newton/newton.dart` you can `import package:flutter/physics.dart`. Fixes #2441
-
Adam Barth authored
These uses cases are now address by http.dart via http.readDataPipe.
-
Ian Hickson authored
-
Hans Muller authored
* Fixed TimePicker crash and added tests * Fixed TimePicker crash and added tests * fixed a Lint-O
-
Seth Ladd authored
* add import guidance to library-level docs * add import docs to other packages * fix review comment * clarify which libraries aren't meant to be directly imported
-
Adam Barth authored
-
Adam Barth authored
This patch adds an option to Scaffold to disable resizing the body to avoid the window padding. This lets developers create layouts that are stable when the keyboard overlays the app. Fixes #3565
-
- 26 Apr, 2016 4 commits
-
-
Adam Barth authored
We had a math-o. Fixes #3563
-
Adam Barth authored
Wait until the end of the microtask to tell gesture recognizers that they've won in the gesture arena. This lets recognizers dispose reject themselves at arbitrary times without triggering gestures in awkward call stacks. Fixes #3183
-
Adam Barth authored
Fixes #3186
-
Adam Barth authored
Fixes #3289
-
- 25 Apr, 2016 5 commits
-
-
Adam Barth authored
Previously we were locking down the state even when calling layout in LazyBlock. Now we lock only when building children. Making this work well involved moving the catch out of lockState and into the few callers who actually wanted it. Fixes #3534
-
Adam Barth authored
-
Adam Barth authored
We're supposed to return a null string when the HTTP response doesn't have a body. Also handle the case of not having a headers map.
-
Hans Muller authored
-
Adam Barth authored
This would have answered a question we go on flutter-dev. Fixes #3517
-
- 24 Apr, 2016 1 commit
-
-
Adam Barth authored
A flow layout is optimized for reposition children with transformation matrices. A flow layout can animate the position of its children very efficiently.
-
- 23 Apr, 2016 3 commits
-
-
Adam Barth authored
This patch contains a few minor improvements to the framework that I ran across while working on a new layout model.
-
Adam Barth authored
Fixes #3510
-
Adam Barth authored
Somehow I missed these in my previous patch.
-
- 22 Apr, 2016 9 commits
-
-
Adam Barth authored
Fixes #3503
-
Adam Barth authored
Prior to this patch, we were pushing two frames each time the cursor blinked. In turning the cursor on or off, the markNeedsPaint call was triggering another frame to be scheduled because we cleared a bit in the scheduler at the beginning of the frame instead of at the end of the frame. To implement scheduling correctly, we actually need two bits: one for ensureVisualUpdate, which just promises to get to the end of the pipeline soon, and scheduleFrame, which promises to get to the beginning of the pipeline soon. (Reland)
-
Ian Hickson authored
This adds in particular the ability to track the time at which the framework boots up, and the time at which we are confident we have completed the first useful frame.
-
Adam Barth authored
Fixes #3501
-
Adam Barth authored
We don't need this assert anyway.
-
Adam Barth authored
This reverts commit 161f945e. This patch caused a number of regressions. Fixes #3497
-
Ian Hickson authored
The old names were getting silly and started stepping on valuable namespace. The new names are consistent and clear.
-
Hans Muller authored
* Refactored MaterialApp
-
Hans Muller authored
* Remove IconThemeData.clampedOpacity
-
- 21 Apr, 2016 8 commits
-
-
Ian Hickson authored
This reorders some classes so that this file makes more sense, and adds a bunch of docs. It also makes the following changes: * Move allElements from Instrumentation to TestWidgets. (Instrumentation is going away.) * Remove findElements. * Rename byElement to byElementPredicate * Rename byPredicate to byWidgetPredicate * Implement _WidgetPredicateFinder so that byWidgetPredicate has good messages * Fix one use of byElementPredicate to use byWidgetPredicate.
-
Ian Hickson authored
Previously the widgets layer only provided a concrete binding, which makes it awkward to extend it compared to other bindings. This moves widgets to the same style as the other layers. In a subsequent patch I'll use this to make the tests layer saner.
-
Matt Perry authored
Also simplify handle drawing. All 3 cases are the same, just rotated. Also fix selection changes on iOS.
-
Eric Seidel authored
This only works for apps which use WidgetsApp. Apps which don't (like the game) could presumably read the static themselves off of WidgetsApp. @devoncarew @hixie
-
Ian Hickson authored
* Refactor the Gesturer's interfaces This makes them more coherent. It also makes it easier for the tests to override each specific part of hit-testing, should that be necessary. * Update binding.dart
-
Matt Perry authored
Only partially works. Editing the selected text doesn't work very well, which probably will require engine changes. Currently only draws the selected text and allows you to manipulate the selection with draggable selection handles.
-
Hans Muller authored
* Gallery Smoke Test
-
Adam Barth authored
Prior to this patch, we were pushing two frames each time the cursor blinked. In turning the cursor on or off, the markNeedsPaint call was triggering another frame to be scheduled because we cleared a bit in the scheduler at the beginning of the frame instead of at the end of the frame. To implement scheduling correctly, we actually need two bits: one for ensureVisualUpdate, which just promises to get to the end of the pipeline soon, and scheduleFrame, which promises to get to the beginning of the pipeline soon.
-