debugBuildingDirtyElements property

  1. @protected
bool debugBuildingDirtyElements
getter/setter pair

Whether we are currently in a frame. This is used to verify that frames are not scheduled redundantly.

This is public so that test frameworks can change it.

This flag is not used in release builds.

Implementation

@protected
bool debugBuildingDirtyElements = false;