animateWithDuration$2 static method

void animateWithDuration$2(
  1. double duration, {
  2. required ObjCBlock<Void Function()> animations,
})

animateWithDuration:animations:

Implementation

static void animateWithDuration$2(double duration, {required objc.ObjCBlock<ffi.Void Function()> animations}) {
  objc.checkOsVersionInternal('UIView.animateWithDuration:animations:', iOS: (false, (4, 0, 0)));
  _objc_msgSend_16dy26p(_class_UIView, _sel_animateWithDuration_animations_, duration, animations.ref.pointer);
}