- 25 Apr, 2016 3 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
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 5 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.
-
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
-
- 21 Apr, 2016 4 commits
-
-
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
-
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.
-
- 20 Apr, 2016 4 commits
-
-
Matt Perry authored
-
Ian Hickson authored
Also a bit of code cleanup. The key part of this patch is the addition in `_endScroll` to reset `_simulation`. It seems like this was the one place where it's possible for us to end the animation but not reset our state. Since we assert that are state is coherent, we were hitting asserts when a fling finished and then you interacted with the widget again.
-
Hans Muller authored
* Make IconButtons as big as possible
-
Ian Hickson authored
...so that people don't think it's for Row.
-
- 19 Apr, 2016 3 commits
-
-
Ian Hickson authored
This makes it easier to use e.g. AssetImage in simple test applications. Also, dartdoc improvements. Also, use @required in one place, to see if it causes any trouble. If it doesn't, I'll start using it in more places.
-
Ian Hickson authored
The defaulting logic for bundles really belongs in the services layer, not the widgets layer. This way we can tell non-widget code just to use rootBundle if it just wants to read a JSON file or some such.
-
Ian Hickson authored
Bindings now have a debugRegisterServiceExtensions() method that is invoked in debug mode (only). (Once we have a profile mode, there'll be a registerProfileServiceExtensions() method that gets called in that mode only to register extensions that apply then.) The BindingBase class provides convenience methods for registering service extensions that do the equivalent of: ```dart void extension() { ... } bool extension([bool enabled]) { ... } double extension([double extension]) { ... } Map<String, String> extension([Map<String, String> parameters]) { ... } ``` The BindingBase class also itself registers ext.flutter.reassemble, which it has call a function on the binding called reassembleApplication(). The Scheduler binding now exposes the preexisting ext.flutter.timeDilation. The Renderer binding now exposes the preexisting ext.flutter.debugPaint. The Renderer binding hooks reassembleApplication to trigger the rendering tree to be reprocessed (in particular, to fix up the optimisation closures). All the logic from rendering/debug.dart about service extensions is replaced by the above. I moved basic_types to foundation. The FlutterWidgets binding hooks reassembleApplication to trigger the widget tree to be entirely rebuilt. Flutter Driver now uses ext.flutter.driver instead of ext.flutter_driver, and is hooked using the same binding mechanism. Eventually we'll probably move the logic into the Flutter library so that you just get it without having to invoke a special method first.
-
- 16 Apr, 2016 1 commit
-
-
Hans Muller authored
-
- 15 Apr, 2016 2 commits
-
-
Ian Hickson authored
+ Add new demo to gallery to show data tables. (This currently doesn't use a Card; I'll create a Card version in a subsequent patch.) + Fix checkbox alignment. It now centers in its box regardless. + Add Colors.black54. + Some minor fixes to dartdocs. + DataTable, DataColumn, DataRow, DataCell + RowInkWell + Augment dartdocs of materia/debug.dart. + DropDownButtonHideUnderline to hide the underline in a drop-down when used in a DataTable. + Add new capabilities to InkResponse to support RowInkWell. + Augment dartdocs of materia/material.dart. + Add an assert to catch nested Blocks. + Fix a crash in RenderBox when you remove an object and an ancestor used its baseline. (https://github.com/flutter/flutter/issues/2874) + Fix (and redocument) RenderBaseline/Baseline. + Add flex support to IntrinsicColumnWidth. + Document more stuff on the RenderTable side. + Fix a bug with parentData handling on RenderTable children. + Completely rewrite the column width computations. The old logic made no sense at all. + Add dartdocs to widgets/debug.dart. + Add a toString for TableRow.
-
Ian Hickson authored
We're getting back to the point where we have a bunch of foundation APIs and it's getting confusing having them mixed with services/.
-
- 14 Apr, 2016 2 commits
-
-
pq authored
With the new dev build we've got the updated linter and so can use the `@optionalTypeArgs` annotation (in `meta 0.12.0`). Bonus: this lets us clean up one more Regexp in the `analyze` command! :)
-
Ian Hickson authored
-
- 13 Apr, 2016 1 commit
-
-
Ian Hickson authored
-
- 12 Apr, 2016 3 commits
-
-
Adam Barth authored
-
Adam Barth authored
Also fill in some related dartdocs.
-
Hans Muller authored
* ClampOverscrolls Inherited Widget
-
- 11 Apr, 2016 1 commit
-
-
Ian Hickson authored
I ran into a case where I was setting minHeight=∞ and then calling layout() with that constraint, which is all kinds of bad. To try to catch this earlier, this patch now provides a way to catch constraints that are requiring infinite values. We don't _always_ check this because there are valid uses for BoxConstraints.biggest, e.g. as an additionalConstraint.
-
- 09 Apr, 2016 1 commit
-
-
Hans Muller authored
* Remove ScrollableListPainter
-
- 08 Apr, 2016 1 commit
-
-
Adam Barth authored
Fixes #3197
-
- 07 Apr, 2016 4 commits
-
-
Hans Muller authored
* Added Scrollbar, removed ScrollbarPainter * removed a dead import * updated per review feedback * Only call dispatch if the widgets State is still mounted
-
Adam Barth authored
Previously we'd snap to the size of the background widget before resizing to zero. Now we force the background widget to match the size of the dimissable widget at the time it was dismissed. Fixes #3092
-
Adam Barth authored
Also, clean up a few interfaces that looked awkward when writing docs.
-
Adam Barth authored
Previously, we lost sync with the tab view contents when switching tabs. Now we key the subtrees to make sure they keep their state across tab animations. Fixes #3147
-
- 06 Apr, 2016 1 commit
-
-
Hans Muller authored
Overscroll indicator for MaterialList
-