buildFromExtension method

Widget buildFromExtension(
  1. AMapContext aMapContext
)

传递构建视图,拓展按需进行包装和挂载定制视图

Implementation

Widget buildFromExtension(AMapContext aMapContext) {
  Widget child = mapView;
  for (var e in extensions) {
    child = e.build(aMapContext, child);
  }
  return child;
}