CAMERA_CHANGED constant Null safety

String const CAMERA_CHANGED

The camera has changed. This event is emitted whenever the visible viewport changes due to the invocation of setSize, setBounds methods or when the camera is modified by calling camera methods. The event is emitted synchronously, so that an updated camera state can be fetched immediately.

Event data format (Object).

Implementation

static const String CAMERA_CHANGED = "camera-changed";