events property

Stream<PainterEvent> get events

The stream of PainterEvents dispatched from this controller.

This stream is for children widgets of FlutterPainter to listen to external events. For example, adding a new text drawable.

Implementation

Stream<PainterEvent> get events => _eventsSteamController.stream;