87 Commits

Author SHA1 Message Date
Hans Muller
2662ea5283 Added support for List leave-behind items 2016-03-07 14:50:25 -08:00
Viktor Lidholt
2d76b2f88b Renames Weather demo 2016-03-03 13:17:24 -08:00
Hans Muller
f1659e4f7a more type parameters 2016-03-03 10:18:53 -08:00
Hixie
cb5017d17d Convert LinearGradient and RadialGradient to fractional units
Makes it easier to use without a SizeObserver
2016-03-02 09:56:37 -08:00
Adam Barth
870894fc68 Switch Material Design icons to using the iconfont
Rather than managing all the Material Design icons manually, we now
manage them using an icon font. The icon font contains glyphs for each
icon in an efficient vector format.

This patch updates the FLX tooling to include the MaterialIcons font and
updates the Icon widget to use the font instead of asset images.

Fixes #2313
Fixes #2218
Fixes #2009
Fixes #994
2016-03-02 09:32:02 -08:00
Hans Muller
d8eaac42fb Added menu dividers 2016-03-02 08:45:26 -08:00
Hans Muller
69f9e3b2a9 Added ListItem dividers 2016-03-01 13:07:37 -08:00
Matt Perry
eaee8915e9 Remove unused updater package. 2016-02-29 15:11:20 -05:00
Hans Muller
204130d221 Fixed a typo 2016-02-29 10:12:14 -08:00
Adam Barth
3bbeee7b54 Remove AnimationDirection
This concept is now private to AnimationController. All the clients actually
want the AnimationStatus.
2016-02-26 16:32:42 -08:00
Adam Barth
19b9464e58 Merge pull request #2231 from abarth/fab_tooltips
Add tooltips to FloatingActionButtons
2016-02-26 14:38:36 -08:00
Adam Barth
61611d4715 Add tooltips to FloatingActionButtons
Fixes #1875
2016-02-26 13:59:35 -08:00
Hans Muller
3d377305f4 updated per review feedback 2016-02-26 13:13:46 -08:00
Hans Muller
179d41e68f Add CheckedPopupMenuitem, update the Stocks demo 2016-02-26 11:27:44 -08:00
Hans Muller
f1df2bd7c0 Gallery Menu Demo etc 2016-02-25 16:16:44 -08:00
Chinmay Garde
f0d1dbc551 Re-run flutter create on examples to fill in icons and other assets 2016-02-25 13:39:34 -08:00
Hixie
0df3730d3e Just-in-time mutations of GestureDetector
This allows us to adjust exactly which gestures we're listening for
during layout, which I'll use to kill a SizeObserver.
2016-02-24 16:18:05 -08:00
Hans Muller
8dcdec532f Moved the home page padding to inside the Block 2016-02-23 15:49:54 -08:00
Hans Muller
25e22f5648 List Gallery Demo 2016-02-23 15:24:41 -08:00
Adam Barth
72fcbb7d36 SnackBar should have a single optional action
The example in the spec with multiple actions is an anti-example.

Fixes #1876
2016-02-20 16:54:10 -08:00
Hans Muller
870d9e95f7 Gallery icons demo 2016-02-19 14:40:11 -08:00
Hans Muller
f989d3b855 Tooltip gallery demo 2016-02-19 08:27:16 -08:00
Hans Muller
5070d94243 Added GridTile 2016-02-18 16:08:54 -08:00
Hans Muller
8cfe31f5e8 Added GridTileBar, grid gallery demo 2016-02-18 10:13:36 -08:00
Viktor Lidholt
9576ce4399 Adds dialog for completed exercise in Fitness demo 2016-02-17 10:14:44 -08:00
Chinmay Garde
8caf7b6289 Add iOS configuration files for all examples and remove GN related files 2016-02-16 16:17:14 -08:00
Viktor Lidholt
8be6ed5872 Fitness demo, initial version 2016-02-16 11:51:59 -08:00
Hans Muller
8c78bf47c1 updated flutter_gallery_assets version
rename example apk dirs to android
removed all BUILD.gn files
2016-02-12 15:03:14 -08:00
Hans Muller
8f0fd6364d typography demo 2016-02-12 13:54:28 -08:00
Hans Muller
78b3096126 colors demo 2016-02-12 11:31:08 -08:00
Hans Muller
8eaa9e69e5 Added a Card demo. 2016-02-11 15:36:50 -08:00
Ian Hickson
a94999ba50 Clean up imports and exports.
Each layer is supposed to reexport the parts of the previous layer
that are part of its API.

- In painting.dart, export from dart:ui all the Canvas-related APIs
  that make sense to be used at higher levels, e.g. PaintingStyle.

- Delete painting/shadows.dart. It was dead code.

- In rendering/object.dart, export all of painting.dart.

- In widgets/basic.dart, export all of painting.dart and
  animation.dart. Some classes in animation/ are renamed to make this
  less disruptive and confusing to the namespace.

- Split out Stocks back into an import model rather than a part model,
  so that it's easier to manage its dependencies on a per-file basis.

- Move Ticker to scheduler library.

- Remove as many redundant imports as possible now.

- Some minor nit picking cleanup in various files.
2016-02-11 00:06:23 -08:00
Hans Muller
66d855274a gallery dialog demos 2016-02-10 16:29:55 -08:00
Hans Muller
4264d5e749 Added button dialog and snackbar demos 2016-02-09 10:09:54 -08:00
Hans Muller
c9ea79e87e alphabetize component demos 2016-02-05 14:15:52 -08:00
Hans Muller
2d91452656 gallery gets a drawer 2016-02-05 13:19:37 -08:00
Hans Muller
82bd1789ac fixed a typo 2016-02-04 11:32:01 -08:00
Hans Muller
64c2766c8c Added the FAB per Tab demo 2016-02-04 11:12:45 -08:00
Hans Muller
8741f33ebe Added a flexible appbar gallery demo 2016-02-04 09:42:23 -08:00
Viktor Lidholt
bfc9af5c58 Adds initial version of weather to the gallery app 2016-02-03 15:55:32 -08:00
Alexandre Ardhuin
99b2b84d57 Rename "Toggle Controls" to "Selection Controls"
Fixes #1537
2016-02-03 09:05:37 +01:00
Hans Muller
6bc65e0373 Add support for the appbar behavior described in the "Flexible space with image" section of https://www.google.com/design/spec/patterns/scrolling-techniques.html#scrolling-techniques-scrolling. 2016-02-02 16:32:39 -08:00
Hixie
28a1788371 Semantics 2016-01-27 10:04:49 -08:00
Hans Muller
8218ff683f Change Block children to be a named parameter 2016-01-22 08:04:21 -08:00
Hans Muller
5ae1b41ca4 Added TwoLevelList 2016-01-21 16:27:18 -08:00
Hans Muller
7ca8608a06 Merge pull request #1315 from HansMuller/gallery_section_graphics
Add section images to the gallery home page
2016-01-20 16:39:30 -08:00
Adam Barth
b988a875ad Remove Performance and AnimatedValue
This patch removes Performance and AnimationValue now that we've ported the
framework over to AnimationController and Tween. This patch also cleans up the
names of the AnimationController classes now that they don't have to avoid
conflicts with the old animation API. Specifically, I've made the following
renames:

 * Animated -> Animation
 * Evaluatable -> Animatable
 * PerformanceStatus -> AnimationStatus

This patch is just renames and moving code around. There aren't any changes in
behavior.
2016-01-20 13:49:35 -08:00
Adam Barth
e459e7124a Port the remainder of the framework to AnimationController
There should be no more uses of Performance or AnimatedValue in the framework
or the examples.
2016-01-20 13:29:05 -08:00
Hans Muller
e1c53b65f7 Added section images to the gallery home page 2016-01-20 12:15:13 -08:00
Adam Barth
d25951c517 AnimatedBuilder should have a child
Providing a pre-built child is more efficient because we don't need to rebuild
the child every tick of the animation.
2016-01-20 09:10:34 -08:00