MapsIndoorsWidget constructor
MapsIndoorsWidget({
- MPMapLabelFont? mapLabelFont,
- int? textSize,
- bool? showFloorSelector,
- bool? showInfoWindowOnClick,
- bool? showUserPosition,
- bool? enabletileFadeIn,
- MPFloorSelector? floorSelector,
- Alignment? floorSelectorAlignment,
- OnMapReadyListener? readyListener,
- bool useDefaultMapsIndoorsStyle = true,
Build the widget, MapsIndoors currently supports the following platforms:
- Android
- iOS
Has optional MPFloorSelector widget. Package includes a MPDefaultFloorSelector.
floorSelectorAlignment
defaults to Alignment.centerRight if none is provided.
Implementation
MapsIndoorsWidget({
this.mapLabelFont,
this.textSize,
this.showFloorSelector,
this.showInfoWindowOnClick,
this.showUserPosition,
this.enabletileFadeIn,
this.floorSelector,
this.floorSelectorAlignment,
this.readyListener,
this.useDefaultMapsIndoorsStyle = true,
}) : super(key: const GlobalObjectKey(MapsIndoorsWidget)) {
if (readyListener != null) {
MapcontrolPlatform.instance.setOnMapControlReadyListener(readyListener!);
}
}