- 09 Mar, 2016 1 commit
-
-
Adam Barth authored
Most of the remaining widget examples are actually manual tests. This patch moves them into //dev/manual_tests. A couple are examples of using services, which I've moved to //examples/layers/services. The remainder are out-dated and are removed by this patch.
-
- 08 Mar, 2016 1 commit
-
-
Hans Muller authored
-
- 07 Mar, 2016 1 commit
-
-
Hans Muller authored
-
- 03 Mar, 2016 1 commit
-
-
Hans Muller authored
-
- 02 Mar, 2016 4 commits
-
-
Adam Barth authored
-
Adam Barth authored
This enum doesn't make sense anymore now that we can arbitrarily colorize icons. Instead, we just use a Color, which is both simpler and can be interpolated during animations. Fixes #1279
-
Adam Barth authored
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
-
Hans Muller authored
-
- 22 Feb, 2016 1 commit
-
-
Adam Barth authored
In the dark theme, there isn't really a primary swatch, so this API was a sandtrap. Instead, be explicit about the colors we need for various widgets in the theme. Fixes #1277
-
- 12 Feb, 2016 1 commit
-
-
Hixie authored
Remove the SizeObserver you need to use snap alignment in lists by having the lists provide the size themselves in the callback. Also, remove snapAlignmentOffset since we couldn't figure out how to explain it and it's not really needed.
-
- 11 Feb, 2016 2 commits
-
-
Jason Simmons authored
(see https://github.com/flutter/flutter/issues/1586)
-
Ian Hickson authored
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.
-
- 03 Feb, 2016 1 commit
-
-
Hans Muller authored
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.
-
- 22 Jan, 2016 1 commit
-
-
Hans Muller authored
-
- 12 Jan, 2016 1 commit
-
-
Adam Barth authored
This patch adds ShaderLayer and makes ShaderMask use it. Fixes #1155
-
- 11 Jan, 2016 1 commit
-
-
Adam Barth authored
Previously we used a positional argument for widgets that had multiple children. Now we use a named argument that defaults to an empty list. Fixes #241
-
- 06 Jan, 2016 2 commits
-
-
Adam Barth authored
ScrollableList2 is complete and subsumes all the use cases for the original ScrollableList.
-
Adam Barth authored
This patch also changed ScrollableList2 to use an Iterable instead of an List for its children. This change lets clients map their underlying data lazily. If the clients actually have a concrete list, we skip the extra copy and grab the child list directly.
-
- 09 Dec, 2015 1 commit
-
-
Adam Barth authored
Now with fewer lists.
-
- 04 Dec, 2015 1 commit
-
-
Adam Barth authored
Also, fill in a back arrow when we can go back. Fixes #699
-
- 03 Dec, 2015 1 commit
-
-
Adam Barth authored
This patch restructures how we handle drawer. The drawer is now a child of the Scaffold, which wraps the Drawer in a DrawerController. The DrawerController manages the interaction with the navigator as well as the edge swiping. The DrawerController's state machine is driven almost entirely off its Performance, which it now owns completely. Fixes #90 Fixes #187 Fixes #192 Fixes #194 Fixes #604
-
- 12 Nov, 2015 1 commit
-
-
Adam Barth authored
This seems useful for numbering the entries in the list, for example. Fixes #328
-
- 03 Nov, 2015 3 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
Hans Muller authored
-
- 01 Nov, 2015 1 commit
-
-
Adam Barth authored
The name of the parameter wasn't consistent with IconButton or DrawerItem, etc. Fixes #1871
-
- 28 Oct, 2015 2 commits
-
-
Hixie authored
MixedViewport didn't use the building:true flag when locking itself, so when it caused a rebuild of its children, we assumed that nobody was allowed to mark things dirty below the list, and things crashed when Inherited people did in fact rebuild. Also: - default offset for MixedViewport - don't bother rebuilding if the underlying RenderObject is going to rebuild anyway for some reason - better docs for the "items must have keys" assert - keep the FlipComponent stuff together in test_widgets.dart
-
Adam Barth authored
Material design icons are defined to work at specific sizes: 18, 24, 36, 48. The current API doesn't reflect that and just takes a size int. If an invalid size is chosen an error is printed to the console and no icon shows up. Fixes #1816
-
- 27 Oct, 2015 1 commit
-
-
Hixie authored
Instread of an explicit 'enabled' bool, this uses the presence of the event handler to determine if a widget is enabled or not. This means that if you've not passed a handler, your widget will be disabled, which makes sense, since it wouldn't work anyway. Adds this feature to checkbox, and ports raised button, flat button, and radio buttons to this new model. Adds a checkbox to card_collection that can be disabled. Hide a (basically bogus) hint from the (soon to be disabled) strong hint mode in the analyzer that this reveals.
-
- 26 Oct, 2015 2 commits
-
-
Hixie authored
Also: - give card_collection an option to turn on or off the edit widgets - give card_collection an option to control text alignment (when not editing) - give card_collection a "dump" option to aid debugging - make the gesture detector report which gestures it is listening to
-
Hixie authored
Make Radio widgets take a type that describes the type of their value, so that you can catch when you use the wrong value. Standardise on ValueChanged<Foo> instead of having a FooValueChanged for every value of Foo.
-
- 24 Oct, 2015 1 commit
-
-
Hixie authored
This makes skyanalyzer also check the examples, and fixes everything it found there.
-
- 22 Oct, 2015 1 commit
-
-
Adam Barth authored
Now you don't need to pass the navigator around everywhere.
-
- 20 Oct, 2015 1 commit
-
-
Adam Barth authored
The style we use for callbacks in widgets is "onFoo". These classes were using an order naming convention and just called their callbacks "callback".
-
- 19 Oct, 2015 1 commit
-
-
Adam Barth authored
It was confusing as to whether these were fractions or pixels. Fixes #1622
-
- 10 Oct, 2015 3 commits
-
-
Adam Barth authored
-
Adam Barth authored
-
Adam Barth authored
-
- 09 Oct, 2015 2 commits
-
-
Adam Barth authored
MaterialApp assumes that you're using material design. Also move radial reaction and fix imports for stats box.
-
Adam Barth authored
These are now part of material.dart.
-