title: Elevation not working on flutter material
body: <p>I want to do an app that looks like this <a href="https://i.stack.imgur.com/FY2e9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FY2e9.png" alt="Shrine App"></a> with that slice on the corner. I can make that slide but my app doesn't have that shadow. </p>
  
  <p>I have my front layer wraped inside a material wideget with elevation like in the example <a href="https://codelabs.developers.google.com/codelabs/mdc-104-flutter/#4" rel="nofollow noreferrer">MDC-104</a>. </p>
  
  <p>Here is my code to make that cut</p>
  
  <pre><code>import 'package:flutter/material.dart';
  
  class ShapeLayer extends StatelessWidget {
    final Widget frontLayer;
    final Widget backLayer = Container(
      color: Colors.green,
    );
  
    ShapeLayer({Key key, this.frontLayer}) : super(key: key);
  
    @override
    Widget build(BuildContext context) {
      return Stack(
        children: &lt;Widget&gt;[
          backLayer,
          Material(
            elevation: 60.0,
            shape: BeveledRectangleBorder(
              borderRadius: BorderRadius.only(topLeft: Radius.circular(46.0)),
            ),
            child: Column(
              crossAxisAlignment: CrossAxisAlignment.stretch,
              children: &lt;Widget&gt;[
                Expanded(child: frontLayer),
              ],
            ),
          ),
        ],
      );
    }
  }
  </code></pre>
  
  <p>I use it like this:</p>
  
  <pre><code>return Scaffold(
    appBar: appBar,
    body: ShapeLayer(frontLayer: Container(//Some stuff here)
  </code></pre>
  
  <p>And it looks like this:
  <a href="https://i.stack.imgur.com/rYpV0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rYpV0.png" alt="My App"></a></p>
  
  <p>As you can see it looks flat, with no elevation at all.</p>
  
  <p>How can I fix this?</p>
  
  <p>Thanks!</p>
  
  <p>EDIT: as @SnakeyHips suggests, this is my app with elevation 16.0</p>
  
  <p><a href="https://i.stack.imgur.com/0DUQ2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0DUQ2.png" alt="elevation 16.0"></a></p>