title: Adjust the height of Google Maps Flutter
body: <p>How can I adjust the height of a Google Map in order to see the background of the page slightly. I've been using <code>curved_navigation_bar</code> It would be great if anybody could help me out, thank you so much in advance!.</p>
  <h3>Current result</h3>
  <p><a href="https://i.stack.imgur.com/3sLHX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3sLHX.jpg" alt="enter image description here" /></a></p>
  <h3>Expected output</h3>
  <p><a href="https://i.stack.imgur.com/xseKa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xseKa.jpg" alt="enter image description here" /></a></p>
  <h3>Navigation Bar</h3>
  <pre class="lang-dart prettyprint-override"><code>Widget _content = Container();
  Color color = Colors.deepPurple;
  class HomePage extends State&lt;MyHomePage&gt;{
    @override
    Widget build(BuildContext context){
      return Scaffold(
        backgroundColor: color,
        body: _content,
        bottomNavigationBar: CurvedNavigationBar(
          backgroundColor: color,
          items: [
            Icon(Icons.home),
            Icon(Icons.dashboard),
            Icon(Icons.settings)
          ],
          onTap: (index){
            setState(() {
              if (index ==0){
                _content = GoogleMapScreen();
              }
              else if (index ==1){
                _content = GoogleMapScreen();
              }
              else{
                _content = GoogleMapScreen();
              }
            });
          },
        ),
      );
    }
  }
  </code></pre>
  <h3>Google Map Page</h3>
  <pre class="lang-dart prettyprint-override"><code>class GoogleMapScreen extends StatefulWidget{
    @override
    _GoogleMapScreenState createState() =&gt; _GoogleMapScreenState();
  }
  class _GoogleMapScreenState extends State&lt;GoogleMapScreen&gt;{
    Set&lt;Marker&gt; _markers = {};
    void _onMapCreated(GoogleMapController controller) {
      setState(() {
        _markers.add(
          Marker(markerId: MarkerId('id-1'),
            position:  LatLng(39.9042, 116.4074),
            infoWindow: InfoWindow(
              title: 'Sample Marker',
              snippet: 'A secret Place',
            )
          ),
        );
      });
    }
    @override
    Widget build(BuildContext context){
      return Scaffold(
          appBar: AppBar(
            title: Text('API MAP'),
          ),
          body: GoogleMap(
              onMapCreated:  _onMapCreated,
              markers: _markers,
              initialCameraPosition: CameraPosition(target: LatLng(39.9042, 116.4074),
                zoom: 15,
              ))
  
      );
    }
  }
  </code></pre>