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