addKeyframeWithRelativeStartTime static method

void addKeyframeWithRelativeStartTime(
  1. double frameStartTime, {
  2. required double relativeDuration,
  3. required ObjCBlock<Void Function()> animations,
})

addKeyframeWithRelativeStartTime:relativeDuration:animations:

Implementation

static void addKeyframeWithRelativeStartTime(
  double frameStartTime, {
  required double relativeDuration,
  required objc.ObjCBlock<ffi.Void Function()> animations,
}) {
  objc.checkOsVersionInternal(
    'UIView.addKeyframeWithRelativeStartTime:relativeDuration:animations:',
    iOS: (false, (7, 0, 0)),
  );
  _objc_msgSend_6jt11a(
    _class_UIView,
    _sel_addKeyframeWithRelativeStartTime_relativeDuration_animations_,
    frameStartTime,
    relativeDuration,
    animations.ref.pointer,
  );
}