- 03 Mar, 2016 2 commits
-
-
Adam Barth authored
Fixes #2361
-
Hans Muller authored
-
- 02 Mar, 2016 3 commits
-
-
Hixie 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
-
- 27 Feb, 2016 1 commit
-
-
Hans Muller authored
-
- 26 Feb, 2016 1 commit
-
-
Hans Muller authored
-
- 14 Feb, 2016 1 commit
-
-
Ian Hickson authored
This makes it match the material spec more. https://www.google.com/design/spec/style/icons.html Fixes https://github.com/flutter/flutter/issues/1357
-
- 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.
-
- 29 Jan, 2016 1 commit
-
-
Kris Giesing authored
-
- 22 Jan, 2016 1 commit
-
-
Adam Barth authored
Now you can colorize an Icon simply by proving a Color for the Icon.
-
- 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 1 commit
-
-
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
-
- 23 Oct, 2015 1 commit
-
-
Adam Barth authored
Now AssetImage will look in the default bundle if you don't supply an explicit bundle. Fixes #680
-
- 19 Oct, 2015 3 commits
-
-
Hixie authored
Provide a way to schedule a callback for immediately after the current frame has been sent to the GPU thread. This is useful for times where you want to immediately schedule yourself for another build or layout because, for instance, you just displayed frame zero of an animation and you want to use the metrics from that layout to set up the actual animation to begin immediately, such that the very next frame is frame 1.
-
Adam Barth authored
Instead of requiring clients to use ui.ColorFilter, we show show the ColorFilter class, similar to what we do for Color.
-
Adam Barth authored
A MaterialList understands the sizing, padding, and scrollbar features of Material Design lists. Also, add CircleAvatar for showing the circular avatars that are commonly used in material lists.
-
- 18 Oct, 2015 1 commit
-
-
Hixie authored
- truncate pixel values to 1dp since there's really no point being told the Size is 302.98732587287 by 648.28498579187. - describe more Widgets so that debugDumpApp() is more useful. - remove bufferValue from ProgressIndicator (cc @hansmuller) since it's not yet implemented. - half-hearted toString() for ThemeData. There's no point making a complete one, since it would cause line-wrap even on big monitors in debugDumpApp dumps, and you can easily get the actual values from a debugging if that's the issue. - flesh out BoxConstraints.toString() so that fully unconstrained and fully infinite constraints are called out explicitly. I experimented with adding even more special cases, e.g. calling out unconstrained widths with fixed heights, etc, but it made the output less readable. - remove a redundant _updateVariable() in AnimatedContainer (cc @abarth). - add more information to RenderView.toString().
-
- 12 Oct, 2015 1 commit
-
-
Hixie authored
Add type annotations in many places. Fix some identifiers to have more lint-satisfying names. Make all operator==s consistent in style. Reorder some functions for consistency. Make ParentData no longer dynamic, and fix all the code around that.
-
- 10 Oct, 2015 3 commits
-
-
Adam Barth authored
-
Adam Barth authored
-
Adam Barth authored
-
- 09 Oct, 2015 1 commit
-
-
Adam Barth authored
These are now part of material.dart.
-
- 08 Oct, 2015 1 commit
-
-
Hixie authored
The root cause was that we crawled the tree to mark anyone who depended on the updated theme dirty _after_ we crawled it to rebuild it. Thus, if anyone was already marked dirty when the process started, then got marked clean by the first (rebuild) walk, then got marked dirty again by the notification, they'd be clean when they got the notification, despite already being in the dirty list, which would cause an assertion. Also IconTheme didn't have an operator==, so it was independently too aggressive about updates.
-
- 06 Oct, 2015 1 commit
-
-
Adam Barth authored
In the vast majority of cases, folks should be interacting with the Widget rather than its State. Fixes #267
-
- 01 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 17 Sep, 2015 1 commit
-
-
Adam Barth authored
What's important about this code is that it's presenting services outside the VM, not the particular technology used to present the services.
-
- 03 Sep, 2015 1 commit
-
-
Adam Barth authored
-
- 02 Sep, 2015 1 commit
-
-
Adam Barth authored
Code outside of package:sky should import this code using package:sky/rendering.dart package:sky/widgets.dart Moving this code into the "src" directory is a convention that signifies that and it cleans up the generated dartdoc because the libraries in the src directory aren't included in the generated documentation. Instead, the classes are documented in the widgets.dart and rendering.dart libraries.
-
- 04 Aug, 2015 1 commit
-
-
Adam Barth authored
It was confusing to have both widget.dart and widgets.dart
-
- 28 Jul, 2015 2 commits
-
-
Chinmay Garde authored
-
Chinmay Garde authored
-
- 23 Jul, 2015 1 commit
-
-
Adam Barth authored
After this patch, we use pub to manage versioning and fetching the material design icons.
-
- 22 Jul, 2015 1 commit
-
-
Hixie authored
This fixes some theoretical bugs whereby we were using hashCode to try to get unique keys for objects, but really we wanted object identity. It also lays the groundwork for a new GlobalKey concept. I tried to keep the impact on the code minimal, which is why the "Key" constructor is actually a factory that returns a StringKey. The code has this class hierarchy: ``` KeyBase | Key--------------+---------------+ | | | StringKey ObjectKey UniqueKey ``` ...where the constructors are Key and Key.stringify (StringKey), Key.fromObjectIdentity (ObjectKey), and Key.unique (UniqueKey). We could instead of factory methods use regular constructors with the following hierarchy: ``` KeyBase | LocalKey---------+---------------+ | | | Key ObjectIdentityKey UniqueKey ``` ...with constructors Key, Key.stringify, ObjectIdentityKey, and UniqueKey, but I felt that that was maybe a more confusing hierarchy. I don't have a strong opinion on this.
-
- 21 Jul, 2015 1 commit
-
-
Adam Barth authored
This change makes it easier to defined only the width or the height of an image and let the other value be filled in from the image's intrinsic aspect ratio. Fixes #175
-
- 16 Jul, 2015 1 commit
-
-
Collin Jackson authored
-