- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 12 Mar, 2016 1 commit
-
-
Adam Barth authored
This patch renames StatelessComponent to StatelessWidget and StatefulComponent to StatefulWidget. Fixes #2308
-
- 27 Jan, 2016 2 commits
-
-
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
-
Adam Barth authored
When introducing Focus widgets for the Drawer (and ModalRoutes), we weren't actually giving them the focus. Now we move the focus scope when pushing modal routes. Fixes #184
-
- 22 Jan, 2016 1 commit
-
-
Adam Barth authored
Fixes #1308
-
- 21 Jan, 2016 1 commit
-
-
Adam Barth authored
Instead, require the developer to opt-in to autofocusing because autofocusing can be disruptive. Fixes #1307
-
- 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
-
- 28 Dec, 2015 1 commit
-
-
Ian Hickson authored
Require a Key on Input. Simplify the API for Focus.at() and Focus.moveTo(). Fixes #236. This will require an e-mail to flutter-dev. Make Input grab focus onTap not onPointerDown. Fixes #189. Complain when you use Focus.at() with two different GlobalKeys that are both in the tree at the same time. Fixes #181. Add dartdocs for Focus.moveTo() and Focus.moveScopeTo().
-
- 16 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 23 Nov, 2015 1 commit
-
-
Adam Barth authored
This package contains WidgetTester, which is very useful when writing tests for widgets.
-
- 16 Nov, 2015 1 commit
-
-
Hixie authored
- force the time dilation to 1.0 for the Widget tests, so that a local change doesn't break all the tests during development. - add missing license block to all the files. - set ui.window.onBeginFrame to null when you use WidgetTester, so that the engine doesn't trigger any confusing frames after our fake frames.
-
- 15 Oct, 2015 1 commit
-
-
Jason Simmons authored
-
- 10 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 05 Oct, 2015 1 commit
-
-
Hixie authored
Focus.at() and company should be on Focus, not FocusState. _notifyDescendants() was using the wrong runtimeType. Let InheritedWidget update the descendants during build. When you setState() during build, assert that you're not markNeedsBuild()ing someone who isn't a descendant. Typo in Widget.toString().
-