Merge pull request #650 from Hixie/theme

Trivial documentation for files in theme/.
This commit is contained in:
Adam Barth
2015-08-17 13:30:36 -07:00
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
This directory provides constants for Material Design.
http://www.google.com/design/spec/material-design/
Files in this directory only depend on ../painting/* and sky:dart.

View File

@@ -4,6 +4,7 @@
enum MaterialEdge { canvas, card, circle }
// This map gives the border radii for each type of material.
const Map<MaterialEdge, double> edges = const {
MaterialEdge.canvas: null,
MaterialEdge.card: 2.0,