- 11 Oct, 2016 1 commit
-
-
Adam Barth authored
This match switches the framework to use the semantics backend in `dart:ui` rather than the Mojo backend.
-
- 28 Sep, 2016 1 commit
-
-
Ian Hickson authored
* globalToLocal was just broken when there was a rotation and a translation at the same time. This fixes that and adds a test. * update graphic used by spinning_mixed since the old one went 404. * simplify some of the code in the demo. * fix MatrixUtils.transformPoint to be consistent with how we transform points elsewhere. * stop transforming points elsewhere, just use MatrixUtils.transformPoint. * make the Widget binding handle not having a root element. * make the spinning_mixed demo update its widget tree.
-
- 21 Sep, 2016 1 commit
-
-
James Robinson authored
This rewrites imports of various mojom.dart files from the Flutter engine repo to instead import normal-looking dart files from the (new) flutter_services package. This package handles exporting the correct symbols from generated code wherever that may live. Includes an engine roll to 3551e7a48e2e336777b15c7637af92fd7605b6c5 which contains the new flutter_services package.
-
- 20 Sep, 2016 1 commit
-
-
Ian Hickson authored
-
- 19 Sep, 2016 1 commit
-
-
Adam Barth authored
This property now applies only to the free space in the flex layout (i.e., minimize or maximize the amount of free space). Previously, the flexible children were always allocated a size of zero when MainAxisSize was min. Now they're allocated the same size that would be if the MainAxisSize was max.
-
- 16 Sep, 2016 1 commit
-
-
Adam Barth authored
Previously, flexible children were always required to fill their allocated space. After this change, they can fit loosely into that space and not fill it. When that happens, the remaining free space is allocated according to the maixAxisAlignment. Fixes #5858
-
- 15 Sep, 2016 1 commit
-
-
Dragoș Tiselice authored
Fixes #4618.
-
- 29 Aug, 2016 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/5283 Other changes in this patch: Rename OffStage to Offstage. Fixes https://github.com/flutter/flutter/issues/5378 Add a lot of docs. Some minor punctuation and whitespace fixes.
-
- 18 Aug, 2016 1 commit
-
-
Adam Barth authored
These tests should hit some previously untested lines.
-
- 02 Jul, 2016 1 commit
-
-
Adam Barth authored
We now stop updating semantics when there are no remaining clients.
-
- 01 Jul, 2016 1 commit
-
-
Adam Barth authored
Also, make SemanticsOwner into a real class and use it instead of a static in several places.
-
- 28 Jun, 2016 1 commit
-
-
Adam Barth authored
-
- 08 Jun, 2016 1 commit
-
-
Ian Hickson authored
Also, make sure that the parent is notified when they change. Fixes #2298
-
- 03 Jun, 2016 2 commits
-
-
Ian Hickson authored
The old code had gotten crufty with all the refactors. This simplifies it down to what it really means. Also, add a bunch of tests.
-
Ian Hickson authored
We used to rely on BoxConstraints.deflate's clamping, but now we have to roll our own.
-
- 31 May, 2016 1 commit
-
-
Ian Hickson authored
-
- 29 May, 2016 1 commit
-
-
Adam Barth authored
We used to use this mechanism to paint scrollbars, but it's awkward. The new approach to scrollbars is much cleaner. This mechanism has no other clients, so we should remove it.
-
- 16 May, 2016 1 commit
-
-
Ian Hickson authored
This makes it possible to substitute 'flutter run' for 'flutter test' and actually watch a test run on a device. For any test that depends on flutter_test: 1. Remove any import of 'package:test/test.dart'. 2. Replace `testWidgets('...', (WidgetTester tester) {` with `testWidgets('...', (WidgetTester tester) async {` 3. Add an "await" in front of calls to any of the following: * tap() * tapAt() * fling() * flingFrom() * scroll() * scrollAt() * pump() * pumpWidget() 4. Replace any calls to `tester.flushMicrotasks()` with calls to `await tester.idle()`. There's a guarding API that you can use, if you have particularly complicated tests, to get better error messages. Search for TestAsyncUtils.
-
- 02 May, 2016 1 commit
-
-
Adam Barth authored
If there's a max height or width, we should factor that into the intrinsic sizing for the other dimension.
-
- 29 Apr, 2016 1 commit
-
-
Ian Hickson authored
Turns out a common use for Baseline is making sure that the child's baseline is higher than it otherwise would be, e.g. with the Material font or other symbols.
-
- 26 Apr, 2016 1 commit
-
-
Adam Barth authored
Fixes #3289
-
- 22 Apr, 2016 2 commits
-
-
Adam Barth authored
Fixes #3501
-
Ian Hickson authored
The old names were getting silly and started stepping on valuable namespace. The new names are consistent and clear.
-
- 20 Apr, 2016 1 commit
-
-
Hans Muller authored
* Make IconButtons as big as possible
-
- 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
If two repaint boundaries mark themselves dirty, but the second one is a child of the first, then the second one will get repainted by the first and then when we come to paint it directly, we get confused because it isn't dirty any more. We ran into this in layout before. Apply the same fix. Also, apply the same fix to composition while we're at it.
-
- 13 Apr, 2016 1 commit
-
-
Ian Hickson authored
* Fix Block intrinsic functions * Update block_test.dart Fix the test per travis
-
- 12 Apr, 2016 1 commit
-
-
Ian Hickson authored
This also shrinks the width of the error messages a bit because now that we use 'package:' URLs the stacks are a bit narrower.
-
- 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
-
-
krisgiesing authored
-
- 07 Apr, 2016 1 commit
-
-
Adam Barth authored
Previously this was used by MixedViewport, but now we don't need it because LazyBlockViewport has replaced MixedViewport. I've also taken this opportunity to modernize RenderBlock.
-
- 06 Apr, 2016 1 commit
-
-
krisgiesing authored
Fixes #2855
-
- 29 Mar, 2016 3 commits
-
-
Hixie authored
-
Hixie authored
- Add x and y to the parent data, in case it's useful. In point of fact, I ended up not needing it. - Make columnWidths settable rather than having a setter so that the code in the widgets layer is more idiomatic. - Teach setFlatChildren about avoiding unnecessary drop/adopt loops. - Assert that the child list length is correct more aggressively so that we catch the dumb bug I had more quickly next time. - Improve the toString() to handle empty tables better. - Resort the imports in framework.dart. - Introduce a LocalKey for cases where you don't want to allow use of GlobalKey. - Make inflateWidget and deactivateChild public for subclass use. - Table widget. - Cell widget. - TableRow fake widget.
-
Adam Barth authored
Adds some names for common FractionalOffset values.
-
- 26 Mar, 2016 1 commit
-
-
Hixie authored
-
- 24 Mar, 2016 1 commit
-
-
Kris Giesing authored
Fixes #2723
-
- 23 Mar, 2016 1 commit
-
-
Ian Hickson authored
-
- 22 Mar, 2016 2 commits
-
-
Hixie authored
New RenderAligningShiftedBox abstract class for render boxes with "alignment", which as of now is: - RenderPositionedBox - RenderConstrainedOverflowBox (ex RenderOverflowBox) - RenderSizedOverflowBox - RenderFractionallySizedOverflowBox (ex RenderFractionallySizedBox) (The respective widgets are Align, OverflowBox, SizedOverflowBox, and FractionallySizedBox. They haven't been renamed.) Also I added some toString details.
-
Hixie authored
Fixes https://github.com/flutter/flutter/issues/2735
-