As briefly described in map-widget, the
childrenproperty takes a list of
Widgets, which will be stacked on top of each other (last on top). These can be any
Widget, such as a
StreamBuilder, but are usually
Layers which are provided by this library or plugins.
There is also the
nonRotatedChildrenproperty, which work similarly as their 'rotatable' counterpart, but - as the name suggests - do not get rotated as the map gets rotated. For example, the
AttributionWidgetshould be used inside
children, as it needs to remain vertical and therefore readable.