Commit graph

124 commits

Author SHA1 Message Date
Hans Muller 119758b822 Make the suspended gallery task bar gray (#5651) 2016-08-29 14:59:10 -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 a651008acf Animate the "PREVIEW" banner into view (#5598) 2016-08-25 12:30:25 -07:00
Collin Jackson 91b6319a4f Allow disabling the performance overlay in main.dart, fixes #5580 (#5583) 2016-08-24 15:55:00 -07:00
Collin Jackson 701e0d054a Add update dialog to gallery (#5569)
Add update dialog to gallery, open source part of #4626
2016-08-24 13:32:27 -07:00
Hans Muller 3a6f6c8275 Gallery app preview banner (#5554) 2016-08-23 12:29:07 -07:00
Hans Muller cc600fc0a0 Add a gallery feedback link (#5511) 2016-08-22 09:57:25 -07:00
Hans Muller 03b117a5e5 Remove the "most valuable keys" Hero feature (#5500) 2016-08-19 09:59:39 -07:00
Hans Muller e683cb2157 Gallery home page header color should track the material theme (#5486) 2016-08-18 14:15:33 -07:00
Hans Muller 7b2f660417 Stablize gallery status bar height computation (#5485) 2016-08-18 12:41:51 -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
Ian Hickson 0d7363322f Fix the logo widget (#5414)
Some tweaks to the logo widget:

* remove bad assert
* allow text color to be configured
* make logo pretty in dark mode in gallery
* fix some docs
2016-08-15 16:02:53 -07:00
Hans Muller 6e62df42b6 Removed unnecessary Shrine hero logic (#5394)
* Removed unnecessary Shrine hero logic
2016-08-15 14:23:53 -07:00
Ian Hickson 955b3e21f7 A Flutter logo widget. (#5382)
Instead of a PNG, the Flutter gallery widget is now drawn in code.

There's now a FlutterLogoDecoration class that paints the flutter logo
anywhere you can use a Decoration (e.g. AnimatedContainer).

There's now a FlutterLogo class that honors the IconTheme.

The About dialog box API now takes a Widget for the applicationIcon,
instead of an ImageProvider. It uses IconTheme to make the icon the
right size instead of using an Image widget.

Add padding, duration, and curve properties to the DrawerHeader.
Make the child of a DrawerHeader optional.

Clean up UserAccuntsDrawerHeader a bit.

Add some useful properties and methods to EdgeInsets.

Add some debug logic to RenderDecoratedBox to catch unpaired
save/restore calls when possible.

Make GestureDetector fill its parent if it has no children. Fixes
https://github.com/flutter/flutter/issues/5380
2016-08-15 12:50:24 -07:00
Hans Muller 914f3adc6e Update gallery application version and label 2016-08-12 11:19:44 -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 d321ce352e Disable parallax in gallery home header (#5250)
We don't yet know how to do this without poping during hero animations.
2016-08-05 09:59:17 -07:00
Adam Barth 4cc094ac9f Remove pop in AppBar hero animations (#5243)
Now the flexible space bar computes its effect from its size rather than from
the Scaffold's animation.
2016-08-05 09:30:45 -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 0265dd3c1a Hide the data table demo for now (#5060) 2016-07-27 09:07:29 -07:00
Hans Muller a555ee4771 TimePicker layout tweaks (#5047) 2016-07-26 12:50:40 -07:00
Hans Muller 76ea70a123 Change the Gallery AnimationDemo category (#5041) 2016-07-26 11:00:11 -07:00
Hans Muller 69aef8f217 Fast scrolling in the gallery tabs demo (#5016) 2016-07-22 16:00:46 -07:00
Adam Barth 39e759212f Improve compositing strategy for Shrine (#5014)
This patch includes a number of improvements:

 * Material page routes now put a repaint boundary inside their transition so
   they don't repaint during the transition.
 * Heroes that are on a quest now get a repaint boundary so we repaint them
   individually.
 * I've hoisted the transparent material for the product items up in the widget
   tree, which doesn't affect performance but makes the ink splashes reach the
   edge of the product cards.
 * I've changed the repaint rainbow visualization to make it easier to see
   what's going on.
2016-07-22 14:09:48 -07:00
Jason Simmons 3fe3e9a14f Make PestoDemoState.scaffoldKey non-static so Favorites can instantiate a second PestoDemo (#5005)
Fixes https://github.com/flutter/flutter/issues/4996
2016-07-22 12:41:41 -07:00
Dragoș Tiselice 6f0635d6e8 Merge pull request #4953 from flutter/drawer-header-update
Updated DrawerHeader to new spec.
2016-07-21 11:17:18 -07:00
Hans Muller 36eb4a066f Support for Material arc point and rect transitions (#4938) 2016-07-21 10:48:41 -07:00
Dragos Tiselice 65e77142e9 Updated DrawerHeader and added UserAccountDrawer.
Removed old Stack layout and added a simple-to-extend interface for the
new drawer header. Also added a specialized UserAccountsDrawerHeader
consistent with Material Design guidelines.
2016-07-20 16:16:08 -07:00
Matt Perry 0dacc5e150 Use a Scaffold for the Pesto recipe page for better appbar behavior. (#4951)
The appbar now scrolls off screen when you scroll the page far enough.

BUG=https://github.com/flutter/flutter/issues/4410
2016-07-19 15:36:24 -04:00
Hans Muller 7a3c0a2eba Draw a smoother overscroll indicator on Android (#4945) 2016-07-18 12:20:00 -07:00
Hans Muller 05e200f12a Fixed some typos (#4929) 2016-07-15 13:53:51 -07:00
Hans Muller 012d9381a8 RefreshIndicator backgroundColor (#4924) 2016-07-14 17:24:36 -07:00