scrubber_viewForItemAtIndex_ property

ObjCProtocolMethod<NSScrubberItemView Function(NSScrubber, DartNSInteger)> scrubber_viewForItemAtIndex_
final

scrubber:viewForItemAtIndex:

Implementation

static final scrubber_viewForItemAtIndex_ =
    objc.ObjCProtocolMethod<
      NSScrubberItemView Function(NSScrubber, DartNSInteger)
    >(
      _protocol_NSScrubberDataSource,
      _sel_scrubber_viewForItemAtIndex_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSInteger,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_1xvw1tx)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSScrubberDataSource,
        _sel_scrubber_viewForItemAtIndex_,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (NSScrubberItemView Function(NSScrubber, DartNSInteger) func) =>
          ObjCBlock_NSScrubberItemView_ffiVoid_NSScrubber_NSInteger.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSScrubber arg1, DartNSInteger arg2) =>
                func(arg1, arg2),
          ),
    );