mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #473 from HansMuller/tabs_elevation
Corrected Card resting elevation, tabs example toolbar Fixes #411
This commit is contained in:
commit
57bbc496ca
@ -125,7 +125,8 @@ class TabbedNavigatorAppState extends State<TabbedNavigatorApp> {
|
||||
assert(selectedIndices.length == 5);
|
||||
|
||||
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(
|
||||
|
||||
@ -23,7 +23,7 @@ class Card extends StatelessComponent {
|
||||
child: new Material(
|
||||
color: color,
|
||||
type: MaterialType.card,
|
||||
elevation: 8,
|
||||
elevation: 2,
|
||||
child: child
|
||||
)
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user