supportsRasterization method

bool supportsRasterization()

Whether or not this layer, or any child layers, can be rasterized with Scene.toImage or Scene.toImageSync.

If false, calling the above methods may yield an image which is incomplete.

This value may change throughout the lifetime of the object, as the child layers themselves are added or removed.

Implementation

bool supportsRasterization() {
  return true;
}