Merge pull request #650 from Hixie/theme
Trivial documentation for files in theme/.
This commit is contained in:
5
packages/flutter/lib/theme/README.md
Normal file
5
packages/flutter/lib/theme/README.md
Normal 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.
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user