dirtyLayers property

int get dirtyLayers

Implementation

int get dirtyLayers => layers.where((l) => l.dirtyBeforePaint).length;