提交 2368f9b9 编写于 作者: A Adam Barth

Add boxShadow to BoxDecoration#toString

TBR=ianh@google.com

Review URL: https://codereview.chromium.org/1174623002.
上级 7a930b83
......@@ -662,8 +662,10 @@ class BoxDecoration {
result.add('${prefix}backgroundColor: $backgroundColor');
if (border != null)
result.add('${prefix}border: $border');
// if (boxShadow != null)
// result.add('${prefix}boxShadow: $boxShadow');
if (boxShadow != null) {
for (BoxShadow shadow in boxShadow)
result.add('${prefix}boxShadow: $shadow');
}
if (result.isEmpty)
return '${prefix}<no decorations specified>';
return result.join('\n');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册