Map view not fit flexible tag on ios device < X.
look at grey border.
It work on iphone X.
return new Padding(
padding: new EdgeInsets.all(0.0),
child: new Column(
children: [
new Flexible(
child: new FlutterMap(
options: new MapOptions(
center: new LatLng(39.213695, 9.121050),
interactive: false,
minZoom: 12.0,
maxZoom: 19.0,
zoom: 16.5,
onTap: (latLng) {
print('tap callback $latLng');
},
onPositionChanged: (MapPosition mapPos) {
print("pos changed $mapPos");
}),
layers: [
new TileLayerOptions(
offlineMode: false,
urlTemplate:
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
// urlTemplate: "assets/offlinemaps/cagliari/{z}/{x}/{y}.png"),
subdomains: ['a', 'b', 'c']),
new MarkerLayerOptions(markers: markers)
],
),
),
],
),
);
Map view not fit flexible tag on ios device < X.
look at grey border.
It work on iphone X.