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