performSystemAnimation static method
void
performSystemAnimation(
- UISystemAnimation animation, {
- required NSArray onViews,
- required int options,
- ObjCBlock<
Void Function()> ? animations, - ObjCBlock<
Void Function(Bool)> ? completion,
performSystemAnimation:onViews:options:animations:completion:
Implementation
static void performSystemAnimation(
UISystemAnimation animation, {
required objc.NSArray onViews,
required int options,
objc.ObjCBlock<ffi.Void Function()>? animations,
objc.ObjCBlock<ffi.Void Function(ffi.Bool)>? completion,
}) {
final _$$ref = onViews.ref;
final _$$ref$1 = animations?.ref;
final _$$ref$2 = completion?.ref;
objc.checkOsVersionInternal(
'UIView.performSystemAnimation:onViews:options:animations:completion:',
iOS: (false, (7, 0, 0)),
);
_objc_msgSend_fqrtz5(
_class_UIView,
_sel_performSystemAnimation_onViews_options_animations_completion_,
animation.value,
_$$ref.pointer,
options,
_$$ref$1?.pointer ?? ffi.nullptr,
_$$ref$2?.pointer ?? ffi.nullptr,
);
}