shouldInvalidateLayoutForPreferredLayoutAttributes method

bool shouldInvalidateLayoutForPreferredLayoutAttributes(
  1. NSCollectionViewLayoutAttributes preferredAttributes, {
  2. required NSCollectionViewLayoutAttributes withOriginalAttributes,
})

shouldInvalidateLayoutForPreferredLayoutAttributes:withOriginalAttributes:

Implementation

bool shouldInvalidateLayoutForPreferredLayoutAttributes(
  NSCollectionViewLayoutAttributes preferredAttributes, {
  required NSCollectionViewLayoutAttributes withOriginalAttributes,
}) {
  objc.checkOsVersionInternal(
    'NSCollectionViewLayout.shouldInvalidateLayoutForPreferredLayoutAttributes:withOriginalAttributes:',
    iOS: (true, null),
  );
  return _objc_msgSend_1lsax7n(
    this.ref.pointer,
    _sel_shouldInvalidateLayoutForPreferredLayoutAttributes_withOriginalAttributes_,
    preferredAttributes.ref.pointer,
    withOriginalAttributes.ref.pointer,
  );
}