- 05 Apr, 2016 1 commit
-
-
Ian Hickson authored
- Rename unselectedColor to unselectedWidgetColor. - Rename selectionColor to textSelectionColor. - Add selectedRowColor. - Remove hintOpacity since it's not tested and has no demo clients. - Add some docs.
-
- 30 Mar, 2016 1 commit
-
-
Hans Muller authored
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 12 Mar, 2016 1 commit
-
-
Adam Barth authored
Fixes #1278
-
- 11 Mar, 2016 2 commits
-
-
Ian Hickson authored
Well, all the easy ones, anyway. For some reason `// ignore:` isn't working for me so I've disabled lints that need that. Also disabled those that require a ton of work (which I'm doing, but not in this PR, to keep it reviewable). This adds: - avoid_init_to_null - library_names - package_api_docs - package_names - package_prefixed_library_names - prefer_is_not_empty - sort_constructors_first - sort_unnamed_constructors_first - unnecessary_getters_setters
-
Quddus Chong authored
-
- 02 Mar, 2016 1 commit
-
-
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
-
- 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
-
-
Ian Hickson authored
-
- 24 Jan, 2016 1 commit
-
-
Adam Barth authored
That way folks can customize it if they want (and it makes the code a bit more self-documenting).
-
- 18 Jan, 2016 1 commit
-
-
Ian Hickson authored
As part of this: - A lot of classes got new lerp functions, including e.g. TextStyle. - Theme's constructor story got overhauled. You can now configure everything if you really want to, and we're better about defaults. - Material no longer automatically animates its background color. (It still does for its shadow.) - Tabs try to get the indicator color from the theme. - The fields in ThemeData got reordered for sanity. - Theme.== and Theme.hashCode got fixed. - Typography got a bit of a spring cleaning. Fixes #613.
-
- 10 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 04 Dec, 2015 1 commit
-
-
Adam Barth authored
This patch contains a number of improvements to the material ink response: - The ink response now remains until you lift your finger - When disappearing, the ink response now fades out - The ink response is now the correct color (at least in the light theme) - The ink response for IconButton now has a (circular) highlight - The ink response for IconButton now repositions itself to be centered on the highlight In addition, I've adjusted the various animation parameters to better match the behavior of ink responses in the Java implementation of material. Fixes #695
-
- 01 Dec, 2015 1 commit
-
-
Ian Hickson authored
-
- 26 Nov, 2015 1 commit
-
-
Adam Barth authored
Also, refactor more common code into RenderToggleable and handle dark themes more correctly. Fixes #601
-
- 19 Oct, 2015 1 commit
-
-
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().
-
- 16 Oct, 2015 1 commit
-
-
Adam Barth authored
The goal is to follow the guidelines in https://github.com/flutter/engine/blob/master/sky/specs/style-guide.md#packages Fixes #1638
-
- 10 Oct, 2015 2 commits
-
-
Adam Barth authored
-
Adam Barth authored
-
- 08 Oct, 2015 1 commit
-
-
Hixie authored
Also, have dialog buttons use the accent colour. Also, generally rationalise some of this stuff to match Material better.
-
- 07 Oct, 2015 1 commit
-
-
Hixie authored
Previously, RenderObjectElements didn't support being marked dirty. This is fine, except for MixedViewport and HomogeneousViewport, which have builder functions to which they hand themselves as a BuildContext. If those builder functions call, e.g., Theme.of(), then when the theme changes, the Inherited logic tries to tell the RenderObjectElement object that its dependencies changed and that doesn't go down well. This patch fixes this by making RenderObjectElement a BuildableElement, and making MixedViewport and HomogeneousViewport hook into that to rebuild themselves appropriately. Also, this was only found at all because ThemeData didn't implement operator==, so we were aggressively marking the entire tree dirty all the time. That's fixed here too. Also, I changed card_collection.dart to have more features to make this easier to test. This found bugs #1524, #1522, #1528, #1529, #1530, #1531.
-
- 18 Sep, 2015 1 commit
-
-
Adam Barth authored
Also, introduce Colors and Typography to hold the material colors and the typography declarations. Previously we expected clients of these libraries to import them into a namespace, but that doesn't play nice with re-exporting them from material.dart.
-
- 19 Aug, 2015 1 commit
-
-
Ian Hickson authored
There doesn't seem to be any particular reason for us to not default the brightness to _something_.
-
- 11 Aug, 2015 1 commit
-
-
Eric Seidel authored
And also Material Design of course. @abarth
-
- 28 Jul, 2015 2 commits
-
-
Chinmay Garde authored
-
Chinmay Garde authored
-
- 21 Jul, 2015 1 commit
-
-
Hixie authored
-
- 16 Jul, 2015 1 commit
-
-
Collin Jackson authored
-