onTilesloaded property
Stream<void>
get
onTilesloaded
Implementation
Stream<void> get onTilesloaded {
late StreamController<void> sc; // ignore: close_sinks
late MapsEventListener mapsEventListener;
void start() => mapsEventListener = Event.addListener(
this,
'tilesloaded',
() => sc.add(null),
);
void stop() => mapsEventListener.remove();
sc = StreamController<void>(
onListen: start,
onCancel: stop,
onResume: start,
onPause: stop,
);
return sc.stream;
}