title: BoxDecoration: DecorationImage Fullscreen background image
body: <p>As per the <a href="https://flutter.io/assets-and-images/" rel="noreferrer">Flutter docs</a> I'm trying to use the DecoratedBox to load a fullscreen image as the background image for a Container.</p>
  
  <p>my pubspec.yaml contains the relevant definition for an embedded asset:</p>
  
  <pre><code>flutter:
    uses-material-design: true
    assets:
      - assets/background.png
  </code></pre>
  
  <p>and the widget.dart tries to fill the background of a new Container as prescribed:</p>
  
  <pre><code>@override
    Widget build(BuildContext context) {
      return new Container(
              decoration: new BoxDecoration(
                color: Colors.purple,
                image : new DecorationImage(
                  image: new ExactAssetImage('assets/background.png'),
                  fit: BoxFit.cover,
                ),
              ),
       ),
    }
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <pre><code>Unable to load asset: assets/background.png 
  
  Image provider: ExactAssetImage(name: "assets/background.png", scale: 1.0, bundle: null)
  </code></pre>
  
  <p>Clearly the bundle is not resolving correctly. Does anyone have an idea of what exactly I'm doing wrong here?</p>