Ian Hickson
9e673853e5
Turn off AnimationControllers when not in use ( #5902 )
...
This requires all AnimationController objects to be given a
TickerProvider, a class that can create the Ticker.
It also provides some nice mixins for people who want to have their
State provide a TickerProvider. And a schedulerTickerProvider for those
cases where you just want to see your battery burn.
Also, we now enforce destruction order for elements.
2016-09-26 10:57:10 -07:00
Matt Perry
c825237a38
Fix improper Input usage in Gallery's Expansion demo. ( #6019 )
...
Fixes https://github.com/flutter/flutter/issues/6011
2016-09-26 13:35:43 -04:00
Dragoș Tiselice
ef68f2f03b
Added BottomNavigationBar demo. ( #6003 )
...
Added a demo of BottomNavigation to the Gallery.
2016-09-23 14:46:30 -07:00
Matt Perry
f0d2f5c58a
Micro tweak to Pesto logo. Text fades out a bit sooner. ( #5983 )
2016-09-21 15:28:13 -04:00
Dragoș Tiselice
7ad5ec40aa
Changed Pesto logotype's position. ( #5970 )
...
* Changed Pesto logotype's position.
This commit changes Pesto's logotype position so that its curve
aligns with the curve of the image size.
* Added clamping to Pesto logo animation.
2016-09-21 10:58:49 -07:00
Matt Perry
278711d5b1
Add an appbar shadow to Pesto's recipe page. ( #5954 )
...
Fixes https://github.com/flutter/flutter/issues/5711
2016-09-20 17:57:09 -04:00
Dragoș Tiselice
f3813202a1
Removed Pesto logo's animation. ( #5957 )
...
Removed Pesto logo's triggered animation in order to remove the
observable 'hop' when scrolling. The whole curve is now entirely
scroll dependent. Fixes #5907 .
2016-09-20 13:13:30 -07:00
Dragoș Tiselice
eafe1c7a4e
Renamed Positioned constructor. ( #5927 )
...
Renames stretch constructor to fill for better consistency with
the rest of the framework.
2016-09-19 10:46:06 -07:00
Dragoș Tiselice
51cd8b6799
Added a stretch Positioned constructor. ( #5894 )
...
Fixes #5835 .
2016-09-16 15:59:01 -07:00
Dragoș Tiselice
84a879e66d
Renamed constant. ( #5910 )
...
Due to a synchronization issue, a PR was merged with a green build
that was supposed to be rebuilt and to fail. This commit fixes the
issue by renaming the usage of a constant.
2016-09-16 12:24:37 -07:00
Dragoș Tiselice
b1a7720315
Fixed capitalization of toolbar. ( #5895 )
...
Fixes #4713 .
2016-09-16 11:05:03 -07:00
Matt Perry
f0f99a45d9
Pesto logo now smoothly animates between image and image+text states. ( #5890 )
...
Fixes https://github.com/flutter/flutter/issues/5684
2016-09-16 13:31:54 -04:00
Dragoș Tiselice
87fb075fa1
Renamed DropDown to Dropdown. ( #5897 )
...
Fixes #3208 .
2016-09-15 17:38:41 -07:00
Hans Muller
f4904b1459
Refresh indicator overscroll ( #5836 )
...
* Added OverscrollIndicatorEdge et al
* RefreshIndicator only clamps its scrollable edge
* added a test
* Updated the test
* fixed lint-os
* fixed a typo
* Scrollable should restore its viewport dimensions when it reappears
* removed an accidental commit
* updated per review feedback
2016-09-14 10:44:51 -07:00
Dragoș Tiselice
b298bdc8c4
Fixed expansion panels demo text in dark theme. ( #5809 )
...
Changed the text styling to make use of the current theme so that
it doesn't break when the user selects the dark theme.
2016-09-09 16:55:55 -07:00
Dragoș Tiselice
cc3df14268
Removed Pesto's drawer. ( #5722 )
...
The drawer was confusing without adding much value. It was
especially confusing when wanting to go back to the Gallery on iOS.
Fixes #5713 .
2016-09-09 13:19:03 -07:00
Matt Perry
b71d7694ab
Prevent Hero transition for AppBar on Pesto recipe page. ( #5760 )
...
BUG=https://github.com/flutter/flutter/issues/5351
2016-09-08 16:40:11 -04:00
Phil Quitslund
d2fda677e1
Update to Dart 1.20.0-dev.1.0
. ( #5689 )
...
* Udpate to Dart `1.20.0-dev.1.0`.
Udpate to Dart `1.20.0-dev.1.0` and corresponding `analyzer` package.
* Added `--no-packages-dir`.
* Revert extension to master.
* Added ignores.
* Review nits.
* More nits.
2016-09-08 13:14:08 -07:00
Hans Muller
afc0550a67
Fix circle antialiasing in the animation demo ( #5729 )
2016-09-02 16:13:09 -07:00
Dragoș Tiselice
8a20b261d0
Changed Material ease animations to fastOutSlowIn. ( #5643 )
...
Fixes #5393 .
2016-09-02 09:03:51 -07:00
Hans Muller
d6a6053630
Contacts icon alignment ( #5719 )
2016-09-01 15:42:23 -07:00
Dragoș Tiselice
8fed9d9e16
Added expansion panels demo to gallery. ( #5539 )
2016-09-01 15:36:26 -07:00
Hans Muller
f27fa0ece0
Gallery animation demo: lazily compute screen dimensions ( #5715 )
2016-09-01 14:07:22 -07:00
Dragoș Tiselice
b4fb23ad10
Increased text margin in typography demo. ( #5691 )
...
Subheading title was too close to the actual example. This commit
increases the size of its box. Fixes #5682 .
2016-08-31 15:15:13 -07:00
Dragoș Tiselice
3964aaad55
Added action to Pesto FAB. ( #5687 )
...
The floating action button inside of the Pesto demo now opens up
a snackbar. Fixes #5685 .
2016-08-31 14:50:14 -07:00
Adam Barth
e0f6c0db84
Add labels to the slider demos ( #5639 )
...
Previously, it was unclear that the middle slider was disabled.
Fixes #5517
2016-08-29 12:17:34 -07:00
Hans Muller
d0e72d616b
Prevent looking up inherited widget values from initState() ( #5609 )
2016-08-26 15:19:46 -07:00
Hans Muller
03b117a5e5
Remove the "most valuable keys" Hero feature ( #5500 )
2016-08-19 09:59:39 -07:00
Eric Seidel
2701c014de
Add icons to pesto drawer ( #5476 )
...
Fixes https://github.com/flutter/flutter/issues/5462
@mpcomplete
2016-08-18 07:03:22 -07:00
Hans Muller
a010d6eb08
Rearrange the Pesto internals ( #5466 )
2016-08-17 15:30:57 -07:00
Hans Muller
0892f6a503
Corrected the scrollable tab view key in the tabs demo ( #5458 )
2016-08-17 11:20:28 -07:00
Hans Muller
96ec30b8af
Fix Pesto appbar heroics ( #5447 )
2016-08-17 10:38:38 -07:00
Hans Muller
082730e94b
Tapping status bar scrolls to top on IOS ( #5425 )
2016-08-16 12:30:39 -07:00
Hans Muller
6e62df42b6
Removed unnecessary Shrine hero logic ( #5394 )
...
* Removed unnecessary Shrine hero logic
2016-08-15 14:23:53 -07:00
Matt Perry
82b55c5ce4
Fix gallery clipping issues on ipod touch. ( #5258 )
...
* Shrine tile height now hardcoded to match actual card size.
* Animation demo now scales with screen size.
BUG=https://github.com/flutter/flutter/issues/5002
BUG=https://github.com/flutter/flutter/issues/5003
2016-08-08 11:52:35 -04:00
Hans Muller
eebe09d402
Set the ScrollConfiguration for dropdown menus ( #5255 )
2016-08-05 12:57:29 -07:00
Matt Perry
260cfcdb7b
Pesto: Prevent overscrolling on recipe page. ( #5237 )
...
BUG=https://github.com/flutter/flutter/issues/5098
2016-08-05 13:37:27 -04:00
Hans Muller
4a8dbb0e13
Add a repaint boundary to the cards on the shrine order page ( #5251 )
2016-08-05 10:02:53 -07:00
Adam Barth
628884a8a8
Make AppBar a Hero ( #5214 )
...
This patch improves the Post and Shrine transitions by making the AppBar
into a Hero and changing the default MaterialPageTransition. Now the
AppBar transitions smoothly between screens and the
MaterialPageTransition doesn't involve a fade effect.
Also, rejigger the bounds of the image header in Pesto to avoid the
"pop" at the end of the animation by laying out the image header at its
final visual size instead of relying on occlusion to size the image
header.
Fixes #5202
Fixes #5204
2016-08-04 13:05:18 -07:00
Hans Muller
3a7508d702
New gallery identity ( #5210 )
2016-08-04 11:07:59 -07:00
Jason Simmons
5c2623d977
Fix overflow of text on Pesto recipe cards ( #5192 )
2016-08-02 16:31:46 -07:00
Adam Barth
4086e7a3c3
Improve performance of Pesto hero animation ( #5182 )
...
Previously we were resizing a paragraph of text during the animation. Now we
animate the text and the image separately. Also, add a default hero tag for
FloatingActionButton so that it animates as part of the hero transition as
well.
2016-08-02 11:35:15 -07:00
Hans Muller
56a2d2262c
Pesto home stack ( #5168 )
2016-08-01 15:09:50 -07:00
Dragoș Tiselice
f3444fcf28
Added BorderRadius. ( #5072 )
...
* Added custom radii to RRect.
This is the first commit towads an implementation of
MergeableMaterial. It adds custom radii to RRect.
* Renamed RRect constructors and added BorderRadius.
BorderRadius is a class similar to EdgeInsets that lets you define
all rounded corners of a rounded rectangle easily.
2016-07-29 16:17:57 -07:00
Adam Barth
c674b4a803
Rename Image.fromNetwork and Image.fromAssetBundle ( #5149 )
...
These now have sorter names to make the callers less verbose.
2016-07-29 13:28:08 -07:00
Adam Barth
79364f0a06
Add Container.align and Container.position ( #5128 )
...
These let you add Align widget to the inside or outside of a container.
Several customers have asked for these properties.
Fixes #4950
2016-07-29 10:27:11 -07:00
Adam Barth
534097ffb6
Use named Image constructors ( #5129 )
...
Some folks didn't realize these existed and asked us to add them. By
using them in examples, hopefully folks will discover them more easily.
2016-07-29 08:27:28 -07:00
Hans Muller
3cebd04116
More gallery tweaks ( #5125 )
2016-07-28 16:23:17 -07:00
Hans Muller
578d98ea46
Gallery demo tweaks ( #5116 )
2016-07-28 12:35:26 -07:00
Hans Muller
a555ee4771
TimePicker layout tweaks ( #5047 )
2016-07-26 12:50:40 -07:00