Adam Barth
54bf20e107
Add DefaultAssetBundle
...
Now AssetImage will look in the default bundle if you don't supply an explicit
bundle.
Fixes #680
2015-10-22 17:02:42 -07:00
Jason Simmons
4816997bd6
Merge pull request #1736 from jason-simmons/flx_gitignore
...
Add .gitignore file to the flx package
2015-10-22 16:04:10 -07:00
Hans Muller
7ea42642f1
Merge pull request #1745 from HansMuller/stack_alignment
...
Use FractionalOffset alignment value in Stack and IndexedStack
2015-10-22 15:51:35 -07:00
Hans Muller
6c27d38337
Use FractionalOffset alignment value in Stack and IndexedStack
2015-10-22 15:44:25 -07:00
Hixie
f67bd7d745
Fix size magic
...
The magic for updating DebugSize's knowledge about whether it was
allowed to be used by the parent or not previously failed to correctly
deal with sizedByParent.
2015-10-22 15:41:24 -07:00
Ian Hickson
dd136c49de
Merge pull request #1741 from Hixie/heroes
...
Unmatched heroes don't need to animate
2015-10-22 15:39:24 -07:00
Jim Beveridge
9ea722d9b6
Merge pull request #1717 from jimbeveridge/piano
...
Fix slow sound init in piano sample app
2015-10-22 15:23:32 -07:00
Hans Muller
d25039df30
Use a type parameter for Dropdown value
2015-10-22 15:14:32 -07:00
Jim Beveridge
4b60def23c
Fix slow sound init in piano sample app
...
Fixes #1696 . Also fixes handles leaking on error.
2015-10-22 14:58:31 -07:00
Hixie
5c439f2b7e
Unmatched heroes don't need to animate
...
By default now heroes won't animate if they don't find a matching hero
on the target page. You can make them animate by setting 'alwaysAnimate:
true' on the Hero constructor.
2015-10-22 14:32:59 -07:00
Hixie
bd9036cdb8
Port spinning_mixed demo to fn3
2015-10-22 14:20:13 -07:00
Hans Muller
33c7820d7e
Adds initial versions of DropdownButton DropdownMenuItem
...
Adds a dropdown menu button as shown in the Material design spec here: https://www.google.com/design/spec/components/buttons.html#buttons-dropdown-buttons . It's the video at the bottom of this section of the Material design spec.
This version of the component doesn't deal with scrollable menus or
constrain the height of the menu.
2015-10-22 13:38:50 -07:00
Adam Barth
de395582d5
Add Navigator.of
...
Now you don't need to pass the navigator around everywhere.
2015-10-22 12:32:42 -07:00
Jason Simmons
57d1bbbfbf
Add .gitignore file to the flx package
2015-10-22 11:26:03 -07:00
Jason Simmons
35bd448bdd
Merge pull request #1729 from jason-simmons/mixed_viewport_lock
...
Fix a type mismatch in IconThemeData.operator==
2015-10-21 17:37:05 -07:00
Hixie
fa8c45151f
Heroes
2015-10-21 16:58:36 -07:00
Jason Simmons
8288769661
Fix a type mismatch in IconThemeData.operator==
2015-10-21 16:41:18 -07:00
Adam Barth
8414b4c1a1
Merge pull request #1721 from Hixie/temp
...
Export gridpaper.dart
2015-10-21 15:26:26 -07:00
Matt Perry
63dbae7eb0
Merge pull request #1722 from mpcomplete/flx.1
...
Create new 'flx' package. Just a copy for now.
2015-10-21 17:56:37 -04:00
Matt Perry
6c00740663
deps
2015-10-21 17:55:20 -04:00
Matt Perry
104e125d93
Create new 'flx' package. Just a copy for now.
...
This will be shared by sky/updater and flutter_tools. Currently
bundle.dart and signing.dart are unmodified copies of the files from
updater and flutter_tools, respectively. This is so future changes are
easier to see.
2015-10-21 17:20:25 -04:00
Hixie
9a0b1f815c
Export gridpaper.dart
2015-10-21 13:35:41 -07:00
Hixie
4ab0720189
Debug grid over the navigator stack
...
This grid makes it significantly easier to track down errors when you're
looking at coordinates in a render tree dump and want to see if they're
what you expect or if they're wildly away from the right location.
2015-10-21 13:31:09 -07:00
Hixie
bc6d17db3b
Use a card for the stock symbol viewer page.
2015-10-21 12:02:28 -07:00
Hixie
545db87ace
AlwaysCompletePerformance, ReversePerformance
...
These new PerformanceView classes are transforms over PerformanceViews.
The first is a cheap way to tell code that expects a performance to not
animate after all, and the other is a way to replace a view of a
performance going in one direction with a view of a performance going in
the other direction.
See also https://github.com/flutter/engine/issues/1708
2015-10-21 11:38:52 -07:00
Hixie
86087cbb08
RotationTransition
...
A transition that rotates its contents.
2015-10-21 11:35:31 -07:00
Hixie
babba2f0ec
Make Route.build() arguments match RouteBuilder()
...
Assert at build time that PageRoute route builders do not return null
widget trees.
Also very minor new code comments and code reorg to help make the heroes
patch easier to review.
(These are changes that are unrelated to Heroes but that were part of
the Heroes patch.)
2015-10-21 11:33:44 -07:00
Adam Barth
789031b5bd
Rev pub packages
2015-10-21 11:13:12 -07:00
Ian Hickson
9e3ba1114c
Merge pull request #1710 from Hixie/unique-key
...
UniqueKey
2015-10-21 11:08:44 -07:00
Adam Barth
7acc24e486
Rev pub packages
2015-10-21 11:05:59 -07:00
Hixie
188aade214
UniqueKey
...
Sometimes you need a Key (not a GlobalKey) that is only equal to itself
but can be used multiple times in the tree. Enter UniqueKey!
2015-10-21 10:03:11 -07:00
Adam Barth
44f6cfff9f
Tighten flutter's dependency on mojo
...
The 0.2.1 release of the mojo package isn't actually compatible with Flutter
despite claiming to be a minor release. The real fix is to make Flutter
compatible with that release, but there are several yak shaves involved.
2015-10-20 18:10:56 -07:00
Viktor Lidholt
0382158550
Merge pull request #1697 from vlidholt/master
...
First pass on sprite physics node hierarchy integration
2015-10-20 16:35:08 -07:00
Adam Barth
af7a54fbba
Rev pub packages
2015-10-20 16:23:43 -07:00
Adam Barth
845c50be9e
Improve comments describing FractionalOffset
...
Fixes #1702
2015-10-20 16:10:22 -07:00
Adam Barth
95803ebbf8
Merge pull request #1690 from abarth/transition_container
...
Adds EnterExitTransition widget
2015-10-20 15:41:34 -07:00
Adam Barth
d54d35d3d1
Adds EnterExitTransition widget
...
This widget smoothly resizes as its child changes and lets you provide entrance
and exit transitions for its children.
2015-10-20 15:37:55 -07:00
Viktor Lidholt
ca724ae151
Adds support for scaling sprite physics groups
2015-10-20 10:47:58 -07:00
Jim Beveridge
a6c1018521
Merge pull request #1693 from jimbeveridge/close
...
Close the UrlLoaderProxy on error.
2015-10-20 10:43:18 -07:00
Viktor Lidholt
4187bcf90c
Adds sprite physics groups
2015-10-20 10:35:40 -07:00
Ian Hickson
37b4800734
Merge pull request #1695 from Hixie/offstage-tests
...
RenderOffStage test
2015-10-20 10:28:31 -07:00
Hixie
ff76ceb40e
RenderOffStage test
...
Also, give RenderViewport a default offset.
2015-10-20 10:17:05 -07:00
Jim Beveridge
2cb9a00f46
Close the UrlLoaderProxy on error.
...
Fixes #1680 .
2015-10-20 09:58:46 -07:00
Hixie
1e9e4e159d
RenderOverflowBox baseline logic
...
I accidentally lost this when extracting RenderOverflowBox from
RenderProxyBox.
2015-10-20 09:52:48 -07:00
Hixie
5214893043
OffStage
...
Introduces a new Widget that lays its child out, but does not render it.
Also, moves RenderOverflowBox to its own file since it has nothing to do
with proxy box really.
2015-10-20 09:00:48 -07:00
Adam Barth
1d5f25333a
Normalize some function names in proxy_box.dart
...
We call this function _getInnerConstraints in other classes. Also, this change
makes it private for RenderOverflowBox.
2015-10-20 08:14:58 -07:00
Adam Barth
f79fdff2d0
Move animation curves into a Curves namespace
2015-10-19 18:08:52 -07:00
Adam Barth
529fa95f87
Give the CustomPaint and SizeObserver callbacks better names
...
The style we use for callbacks in widgets is "onFoo". These classes were using
an order naming convention and just called their callbacks "callback".
2015-10-19 17:27:40 -07:00
Adam Barth
2edc6dbb3d
Add AnimatedSizeValue
2015-10-19 17:16:05 -07:00
Hixie
4f96083e66
Fix warning in test. Arguments must be typed.
2015-10-19 16:07:01 -07:00