Commit 371ef454 authored by Matt Perry's avatar Matt Perry

Material animates over 200ms

parent b31e06a5
...@@ -49,7 +49,7 @@ class Material extends Component { ...@@ -49,7 +49,7 @@ class Material extends Component {
Widget build() { Widget build() {
return new AnimatedContainer( return new AnimatedContainer(
duration: const Duration(milliseconds: 1000), duration: const Duration(milliseconds: 200),
decoration: new BoxDecoration( decoration: new BoxDecoration(
backgroundColor: _backgroundColor, backgroundColor: _backgroundColor,
borderRadius: edges[type], borderRadius: edges[type],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment