Skip to content

Instantly share code, notes, and snippets.

@abarth
Created September 17, 2015 18:29
Show Gist options
  • Save abarth/d102f31c9e91ebcb0f05 to your computer and use it in GitHub Desktop.
Save abarth/d102f31c9e91ebcb0f05 to your computer and use it in GitHub Desktop.
diff --git a/sky/packages/sky/lib/src/widgets/material.dart b/sky/packages/sky/lib/src/widgets/material.dart
index 9ab80c2..0dbe300 100644
--- a/sky/packages/sky/lib/src/widgets/material.dart
+++ b/sky/packages/sky/lib/src/widgets/material.dart
@@ -55,13 +55,13 @@ class Material extends Component {
style: Theme.of(this).text.body1,
child: contents
);
- if (edges[type] != null) {
- contents = new ClipRRect(
- xRadius: edges[type],
- yRadius: edges[type],
- child: contents
- );
- }
+ // if (edges[type] != null) {
+ // contents = new ClipRRect(
+ // xRadius: edges[type],
+ // yRadius: edges[type],
+ // child: contents
+ // );
+ // }
}
return new AnimatedContainer(
behavior: implicitlyAnimate(const Duration(milliseconds: 200)),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment