Update MaterialType.canvas documentation.

While the documentation for MaterialType.canvas described it as
an infinite shape. The implementation has been clipping it to the
bounding rectangle for a while. And it is already used in the wild as a
rectangular piece. So we just update the documentation to match that.
This commit is contained in:
Amir Hardon 2018-02-02 14:43:58 -08:00 committed by amirh
parent b79f4e319d
commit b40c112e22

View file

@ -22,7 +22,7 @@ typedef Rect RectCallback();
/// * [Material], in particular [Material.type]
/// * [kMaterialEdges]
enum MaterialType {
/// Infinite extent using default theme canvas color.
/// Rectangle using default theme canvas color.
canvas,
/// Rounded edges, card theme color.