flutterMapLayers property
Every layer's flutter_map layer widgets, bottom layer first. Keyed by layer id and position so that a stateful flutter_map layer keeps its state when another layer is added or removed before it.
Implementation
List<Widget> get flutterMapLayers {
final layerIds = _flutterMapLayers.keys.toList()..sort((a, b) => zIndexOf(a).compareTo(zIndexOf(b)));
return [
for (final id in layerIds)
for (final (index, layer) in _flutterMapLayers[id]!.indexed)
KeyedSubtree(key: ValueKey((id, index)), child: layer),
];
}