- 21 Jan, 2017 1 commit
-
-
Ian Hickson authored
-
- 03 Jan, 2017 1 commit
-
-
lequem authored
-
- 02 Dec, 2016 1 commit
-
-
Hans Muller authored
-
- 30 Nov, 2016 1 commit
-
-
Hans Muller authored
-
- 10 Nov, 2016 1 commit
-
-
Chris Bracken authored
These define a TextTheme and IconTheme that contrast with the accent colour brightness. Also adjust default accentColorBrightness to match Material spec examples (dark text/icons on teal in Dark theme). Update material components to use accentTextTheme, accentIconTheme: * DatePicker selection * Floating action button icon * TimePicker selection * Slider label text
-
- 08 Nov, 2016 1 commit
-
-
Ian Hickson authored
-
- 02 Nov, 2016 1 commit
-
-
Chris Bracken authored
On Android and Fuchsia, default to Roboto. On iOS, use San Francisco.
-
- 29 Oct, 2016 1 commit
-
-
Ian Hickson authored
-
- 23 Oct, 2016 1 commit
-
-
Wyatt Arent authored
-
- 19 Oct, 2016 1 commit
-
-
Ian Hickson authored
-
- 11 Oct, 2016 1 commit
-
-
Adam Barth authored
This match switches the framework to use the semantics backend in `dart:ui` rather than the Mojo backend.
-
- 26 Jul, 2016 1 commit
-
-
Adam Barth authored
-
- 25 Jul, 2016 1 commit
-
-
Adam Barth authored
We'll use this field to adapt material widgets to iOS.
-
- 23 Jun, 2016 1 commit
-
-
Hans Muller authored
-
- 21 Jun, 2016 1 commit
-
-
Ian Hickson authored
Anywhere that accepted IconData now accepts either an Icon or an ImageIcon. Places that used to take an IconData in an `icon` argument, notably IconButton and DrawerItem, now take a Widget in that slot. You can wrap the value that used to be passed in in an Icon constructor to get the same result. Icon itself now takes the icon as a positional argument, for brevity. ThemeData now has an iconTheme as well as a primaryIconTheme, the same way it has had a textTheme and primaryTextTheme for a while. IconTheme.of() always returns a value now (though that value itself may have nulls in it). It defaults to the ThemeData.iconTheme. IconThemeData.fallback() is a new method that returns an icon theme data structure with all fields filled in. IconTheme.merge() is a new constructor that takes a context and creates a widget that mixes in the new values with the inherited values. Most places that introduced an IconTheme widget now use IconTheme.merge. IconThemeData.merge and IconThemeData.copyWith act in a way analogous to the similarly-named members of TextStyle. ImageIcon is introduced. It acts like Icon but takes an ImageProvider instead of an IconData. Also: Fix the analyzer to actually check the stocks app.
-
- 20 Jun, 2016 1 commit
-
-
Todd Volkert authored
-
- 09 Jun, 2016 1 commit
-
-
Ian Hickson authored
Also renames ButtonTheme.footer to ButtonTheme.bar.
-
- 07 Jun, 2016 1 commit
-
-
Todd Volkert authored
Fixes 3544
-
- 04 May, 2016 1 commit
-
-
Adam Barth authored
Making progress towards document all public APIs in material.dart. We're still missing a few odds and ends (as well as missing docs in tabs.dart, tooltip.dart, and two_level_list.dart).
-
- 29 Apr, 2016 1 commit
-
-
Adam Barth authored
Instead of incorporating the margin into the button, introduce a ButtonBar widget that supplies the proper spacing between the buttons. Also, make these buttons more configurable via ButtonTheme so that dialogs can change the minWidth and padding of the buttons as required by the spec. Fixes #1843 Fixes #3184
-
- 21 Apr, 2016 1 commit
-
-
Matt Perry authored
Only partially works. Editing the selected text doesn't work very well, which probably will require engine changes. Currently only draws the selected text and allows you to manipulate the selection with draggable selection handles.
-
- 13 Apr, 2016 1 commit
-
-
Ian Hickson authored
-
- 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
-