- 12 Mar, 2016 6 commits
-
-
Adam Barth authored
This patch renames StatelessComponent to StatelessWidget and StatefulComponent to StatefulWidget. Fixes #2308
-
Adam Barth authored
Fixes #1482
-
Hixie authored
And fix the zillion issues that uncovered.
-
Ian Hickson authored
This reverts commit f41b3411, reversing changes made to e33d8d96. This was a bad check-in due to my mangling uploading a new version of the branch from a different machine. This reverts https://github.com/flutter/flutter/pull/2639 and will be replaced by https://github.com/flutter/flutter/pull/2640
-
Hixie authored
And fix the zillion issues that uncovered.
-
Adam Barth authored
Instead of trying to flush the detached children from the child list, we keep the set of detached children up to date and query on every read.
-
- 11 Mar, 2016 4 commits
-
-
Adam Barth authored
We'll need this for RTL support because the RTL state will live in the widget tree. Also, remove the `oldWidget` argument to updateRenderObject because there aren't any clients for it.
-
Ian Hickson authored
Well, all the easy ones, anyway. For some reason `// ignore:` isn't working for me so I've disabled lints that need that. Also disabled those that require a ton of work (which I'm doing, but not in this PR, to keep it reviewable). This adds: - avoid_init_to_null - library_names - package_api_docs - package_names - package_prefixed_library_names - prefer_is_not_empty - sort_constructors_first - sort_unnamed_constructors_first - unnecessary_getters_setters
-
Adam Barth authored
This patch prepares us to pass a BuildContext to RenderObjectWidgets, which will make it possible to rebuild RenderObjectElements: * Delay creation of the render object until mount(). That will let us pass `this` to createRenderObject and have the inherited elements be initialized. * Cleanup widgets that take builder closures to prepare for their RenderObjectElement to be rebuilt more often. * Add a test for the interaction between inherited widgets and MixedViewport. Related to #2598
-
Adam Barth authored
It's slightly more efficient.
-
- 08 Mar, 2016 1 commit
-
-
Adam Barth authored
Fixes #2085
-
- 07 Mar, 2016 1 commit
-
-
Ian Hickson authored
-
- 06 Mar, 2016 1 commit
-
-
Ian Hickson authored
This makes WidgetError more like RenderingError, which will aid with https://github.com/flutter/flutter/issues/2356. Fixes https://github.com/flutter/flutter/issues/2443
-
- 01 Mar, 2016 1 commit
-
-
Adam Barth authored
Now we produce an error message that explains why this operation isn't permitted by the framework. Fixes #1925
-
- 16 Feb, 2016 1 commit
-
-
Adam Barth authored
The previous sample code isn't a common (or recommended) pattern.
-
- 11 Feb, 2016 1 commit
-
-
Ian Hickson authored
Each layer is supposed to reexport the parts of the previous layer that are part of its API. - In painting.dart, export from dart:ui all the Canvas-related APIs that make sense to be used at higher levels, e.g. PaintingStyle. - Delete painting/shadows.dart. It was dead code. - In rendering/object.dart, export all of painting.dart. - In widgets/basic.dart, export all of painting.dart and animation.dart. Some classes in animation/ are renamed to make this less disruptive and confusing to the namespace. - Split out Stocks back into an import model rather than a part model, so that it's easier to manage its dependencies on a per-file basis. - Move Ticker to scheduler library. - Remove as many redundant imports as possible now. - Some minor nit picking cleanup in various files.
-
- 09 Feb, 2016 1 commit
-
-
Adam Barth authored
Fixes #1695
-
- 06 Feb, 2016 1 commit
-
-
Adam Barth authored
This patch includes documentation for transitions.dart and for scrollable.dart.
-
- 27 Jan, 2016 2 commits
-
-
Hixie authored
-
Adam Barth authored
This patch changes the framework to walk the child list forwards so that build functions with global side effects do sensible things. Specifically, if you have a number of autofocusable children, the first one the list will acquire the focus because it gets built first now. Fixes #182
-
- 24 Jan, 2016 3 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
-
Ian Hickson authored
...instead of a deep walk.
-
- 19 Jan, 2016 1 commit
-
-
Ian Hickson authored
It's confusing to have non-render-object widgets on either side of the render object ones.
-
- 12 Jan, 2016 1 commit
-
-
Hans Muller authored
-
- 11 Jan, 2016 1 commit
-
-
Adam Barth authored
Previously we used a positional argument for widgets that had multiple children. Now we use a named argument that defaults to an empty list. Fixes #241
-
- 07 Jan, 2016 2 commits
-
-
Ian Hickson authored
Make ancestorStateOfType() and ancestorRenderObjectOfType() support subclassing. Fixes https://github.com/flutter/flutter/issues/1087
-
Ian Hickson authored
- make them all have the same style - make them all include the stack trace last - make them all stop printing if their callback is set (if appropriate, they don't yet all have callbacks)
-
- 04 Jan, 2016 1 commit
-
-
Ian Hickson authored
Fixes #1058.
-
- 31 Dec, 2015 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/572
-
- 11 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 10 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 09 Dec, 2015 1 commit
-
-
Adam Barth authored
- Remove unused FocusChanged typedef. - Remove unused centerOfAttentionHeroTag. - Modernize static functions for interacting with Scrollable by moving them into the Scrollable class.
-
- 08 Dec, 2015 1 commit
-
-
Adam Barth authored
After this patch, if you try to use a widget that depends on being enclosed in a material, you now get an assert and a debugPrint if you're not inside a material. Fixes #243
-
- 04 Dec, 2015 1 commit
-
-
Adam Barth authored
Fixes #689
-
- 01 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 20 Nov, 2015 2 commits
-
-
Adam Barth authored
The old name was confusing. Fixes #462
-
Hixie authored
- `Scaffold.of(context).showBottomSheet(widget);` - Returns an object with .closed Future and .close() method. - Uses a StateRoute to handle back button. - Take the Navigator logic out of the BottomSheet widget. - Support showing a sheet while an old one is going away. - Add Navigator.remove().
-
- 18 Nov, 2015 1 commit
-
-
Hixie authored
I'm planning on adding more .of() functions and so to avoid further copypasta I'm providing some general utility functions here.
-
- 13 Nov, 2015 1 commit
-
-
Adam Barth authored
When we reactivate a subtree that had a global key, we weren't updating the parent data because: 1) The child wasn't in the tree when we updated the parent data element. 2) The activated child didn't go through mount (just through update). This patch moves the parent data update work to when we attach the render object, which we do both during mount and when reactivating a child. Fixes #345
-