collectionView_viewForSupplementaryElementOfKind_atIndexPath_ property

ObjCProtocolMethod<NSView Function(NSCollectionView, DartNSCollectionViewSupplementaryElementKind, NSIndexPath)> collectionView_viewForSupplementaryElementOfKind_atIndexPath_
final

collectionView:viewForSupplementaryElementOfKind:atIndexPath:

Implementation

static final collectionView_viewForSupplementaryElementOfKind_atIndexPath_ =
    objc.ObjCProtocolMethod<
      NSView Function(
        NSCollectionView,
        DartNSCollectionViewSupplementaryElementKind,
        NSIndexPath,
      )
    >(
      _protocol_NSCollectionViewDataSource,
      _sel_collectionView_viewForSupplementaryElementOfKind_atIndexPath_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<objc.ObjCObject>,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1yw2rcr)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSCollectionViewDataSource,
        _sel_collectionView_viewForSupplementaryElementOfKind_atIndexPath_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (
        NSView Function(
          NSCollectionView,
          DartNSCollectionViewSupplementaryElementKind,
          NSIndexPath,
        )
        func,
      ) =>
          ObjCBlock_NSView_ffiVoid_NSCollectionView_NSCollectionViewSupplementaryElementKind_NSIndexPath.fromFunction(
            (
              ffi.Pointer<ffi.Void> _,
              NSCollectionView arg1,
              DartNSCollectionViewSupplementaryElementKind arg2,
              NSIndexPath arg3,
            ) => func(arg1, arg2, arg3),
          ),
    );