Enable physical model shadows (with animation) and change elevation to a double (#9756)

Fixes https://github.com/flutter/flutter/issues/9342
This commit is contained in:
Jason Simmons
2017-05-03 12:11:01 -07:00
committed by GitHub
parent 2051669ac7
commit b586a97ad2
27 changed files with 192 additions and 192 deletions

View File

@@ -66,7 +66,7 @@ class TileScrollLayout extends StatelessWidget {
return new Padding(
padding:const EdgeInsets.all(5.0),
child: new Material(
elevation: index % 5 + 1,
elevation: (index % 5 + 1).toDouble(),
color: Colors.white,
child: new IconBar(),
),