hasKittyImages property

bool get hasKittyImages

Whether any Kitty image is registered in KittyImageRegistry.global or a scoped registry attached to this buffer.

Implementation

bool get hasKittyImages {
  if (KittyImageRegistry.global.hasImages) return true;
  for (final entry in _scopedKittyRegistries) {
    if (entry.registry.hasImages) return true;
  }
  return false;
}