> For the complete documentation index, see [llms.txt](https://docs.fleaflet.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fleaflet.dev/usage/basics.md).

# Base Widget

```dart
FlutterMap(
    options: MapOptions(),
    children: [],
);
```

{% stepper %}
{% step %}

### Configure the map

{% content-ref url="/pages/hdjYVPOiUqi0pBJkU7i4" %}
[Options](/usage/options.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

### Add some layers

{% content-ref url="/pages/63IvGUCNywE4aNVza8cr" %}
[Layers](/usage/layers.md)
{% endcontent-ref %}
{% endstep %}
{% endstepper %}

{% hint style="info" %}
The map widget will expand to fill its constraints.

To avoid errors about infinite/unspecified sizes, ensure the map is contained within a constrained widget.
{% endhint %}
