transitionFromViewController method
void
transitionFromViewController(
- UIViewController fromViewController, {
- required UIViewController toViewController,
- required double duration,
- required int options,
- ObjCBlock<
Void Function()> ? animations, - ObjCBlock<
Void Function(Bool)> ? completion,
transitionFromViewController:toViewController:duration:options:animations:completion:
Implementation
void transitionFromViewController(
UIViewController fromViewController, {
required UIViewController toViewController,
required double duration,
required int options,
objc.ObjCBlock<ffi.Void Function()>? animations,
objc.ObjCBlock<ffi.Void Function(ffi.Bool)>? completion,
}) {
final _$$ref = object$.ref;
final _$$ref$1 = fromViewController.ref;
final _$$ref$2 = toViewController.ref;
final _$$ref$3 = animations?.ref;
final _$$ref$4 = completion?.ref;
objc.checkOsVersionInternal(
'UIViewController.transitionFromViewController:toViewController:duration:options:animations:completion:',
iOS: (false, (5, 0, 0)),
);
_objc_msgSend_2fdtmz(
_$$ref.pointer,
_sel_transitionFromViewController_toViewController_duration_options_animations_completion_,
_$$ref$1.pointer,
_$$ref$2.pointer,
duration,
options,
_$$ref$3?.pointer ?? ffi.nullptr,
_$$ref$4?.pointer ?? ffi.nullptr,
);
}