Commit Graph

4769 Commits

Author SHA1 Message Date
Adam Barth 398400a3bc Merge pull request #1503 from abarth/simplify_scaffold
Simplify Scaffold
2015-10-06 10:09:35 -07:00
Adam Barth 7d5412eb60 Merge pull request #1504 from abarth/tab_shadow
ToolBar with a TabBar shouldn't have a shadow
2015-10-06 10:08:11 -07:00
Adam Barth 6601b5dfa9 Simplify Scaffold
Rather than using a custom render object, we can just use a Stack.
2015-10-06 10:06:17 -07:00
Viktor Lidholt eb2709eafe Merge pull request #1506 from vlidholt/master
Fixes to demo game
2015-10-06 09:57:21 -07:00
Adam Barth ed041a2971 Merge pull request #1501 from abarth/initial_page
PageableList should take initialPage instead of initialScrollOffset
2015-10-06 09:51:35 -07:00
Adam Barth 35662d03bd Rev pub package 2015-10-06 09:51:00 -07:00
Adam Barth 87960ec1c2 Rev pub package 2015-10-06 09:45:20 -07:00
Adam Barth 1b70ffadda Make MimicableState public again
This state object has a public API.
2015-10-06 09:33:33 -07:00
Viktor Lidholt bf4342fa9a Adds default text style 2015-10-06 09:28:05 -07:00
Adam Barth 8e1583af38 ToolBar with a TabBar shouldn't have a shadow
This patch makes the level of the ToolBar configurable. I've also cleaned up
the Tab code slightly.

For some reason, there's still a hairline between the ToolBar and the TabBar.
We might need to rethink how we draw the background a bit here.

Fixes #1454
2015-10-05 23:41:14 -07:00
Adam Barth ab3035037e Merge pull request #1502 from abarth/private_state
Mark most State subclasses private
2015-10-05 22:27:28 -07:00
Adam Barth 3ccef40ca2 Mark most State subclasses private
In the vast majority of cases, folks should be interacting with the Widget
rather than its State.

Fixes #267
2015-10-05 21:54:33 -07:00
Adam Barth 06e49c0942 PageableList should take initialPage instead of initialScrollOffset
Fixes #900
2015-10-05 21:36:23 -07:00
Adam Barth 1710c20d0d Merge pull request #1499 from abarth/rm_animated_component
Delete AnimatedComponent
2015-10-05 21:32:28 -07:00
Adam Barth d9c44f2e45 Delete AnimatedComponent
This class has no clients.
2015-10-05 17:35:51 -07:00
Ian Hickson 6f82b1c903 Merge pull request #1496 from Hixie/focus
Fix Focus
2015-10-05 17:32:52 -07:00
Adam Barth 27f1359728 Merge pull request #1484 from abarth/snackbar_route
Use Navigator to drive SnackBar
2015-10-05 17:32:47 -07:00
Adam Barth 57002a4ab5 Merge pull request #1497 from abarth/create_performance_earlier
Create the Performance for a Route earlier
2015-10-05 17:32:41 -07:00
Adam Barth 5a1cf0b791 Create the Performance for a Route earlier
Instead of waiting until build(), we now create the performance for a route in
its constructor.
2015-10-05 17:20:08 -07:00
Adam Barth a5907c6f12 Use Navigator to drive SnackBar
Now SnackBar is an ephemeral route that uses a Placeholder to put itself into
the Scaffold.

Fixes #673
2015-10-05 17:12:50 -07:00
Hixie 9f2429550c Fix Focus
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().
2015-10-05 16:41:50 -07:00
Viktor Lidholt 4599f809dc Makes physics bodies fixture elements settable 2015-10-05 16:13:32 -07:00
Ian Hickson 74f85c7ae5 Merge pull request #1490 from Hixie/navigator-ensure-pop
Handle a route being dismissed before being popped
2015-10-05 13:59:59 -07:00
Ian Hickson 7be4dc4d63 Merge pull request #1489 from Hixie/cleanup
Add more debugging information to Widgets.
2015-10-05 13:59:56 -07:00
Ian Hickson fa37693a0a Merge pull request #1488 from Hixie/RouteArguments
Simplify the usage of Navigator's routes argument
2015-10-05 13:59:45 -07:00