Commit 57bbc496 authored by Hans Muller's avatar Hans Muller

Merge pull request #473 from HansMuller/tabs_elevation

Corrected Card resting elevation, tabs example toolbar

Fixes #411
parents 904acc83 0dc652bd
...@@ -125,7 +125,8 @@ class TabbedNavigatorAppState extends State<TabbedNavigatorApp> { ...@@ -125,7 +125,8 @@ class TabbedNavigatorAppState extends State<TabbedNavigatorApp> {
assert(selectedIndices.length == 5); assert(selectedIndices.length == 5);
ToolBar toolbar = new ToolBar( ToolBar toolbar = new ToolBar(
center: new Text('Tabbed Navigator', style: Typography.white.title) center: new Text('Tabbed Navigator', style: Typography.white.title),
elevation: 0
); );
return new Scaffold( return new Scaffold(
......
...@@ -23,7 +23,7 @@ class Card extends StatelessComponent { ...@@ -23,7 +23,7 @@ class Card extends StatelessComponent {
child: new Material( child: new Material(
color: color, color: color,
type: MaterialType.card, type: MaterialType.card,
elevation: 8, elevation: 2,
child: child child: child
) )
); );
......
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