| Flutter iOS Embedder |

Instance Methods | Properties | List of all members
FlutterViewController(Tests) Category Reference

## Instance Methods
(void) | - createTouchRateCorrectionVSyncClientIfNeeded
(void) | - surfaceUpdated:
(void) | - performOrientationUpdate:
(void) | - handlePressEvent:nextAction:
(void) | - discreteScrollEvent:
(void) | - updateViewportMetricsIfNeeded
(void) | - onUserSettingsChanged:
(void) | - applicationWillTerminate:
(void) | - goToApplicationLifecycle:
(void) | - handleKeyboardNotification:
(CGFloat) | - calculateKeyboardInset:keyboardMode:
(BOOL) | - shouldIgnoreKeyboardNotification:
(FlutterKeyboardMode) | - calculateKeyboardAttachMode:
(CGFloat) | - calculateMultitaskingAdjustment:keyboardFrame:
(void) | - startKeyBoardAnimation:
(UIView *) | - keyboardAnimationView
(SpringAnimation *) | - keyboardSpringAnimation
(void) | - setUpKeyboardSpringAnimationIfNeeded:
(void) | - setUpKeyboardAnimationVsyncClient:
(void) | - ensureViewportMetricsIsCorrect
(void) | - invalidateKeyboardAnimationVSyncClient
(void) | - addInternalPlugins
(flutter::PointerData) | - generatePointerDataForFake
(void) | - sharedSetupWithProject:initialRoute:
(void) | - applicationBecameActive:
(void) | - applicationWillResignActive:
(void) | - applicationWillTerminate:
(void) | - applicationDidEnterBackground:
(void) | - applicationWillEnterForeground:
(void) | - sceneBecameActive:
(void) | - sceneWillResignActive:
(void) | - sceneWillDisconnect:
(void) | - sceneDidEnterBackground:
(void) | - sceneWillEnterForeground:

## Properties
double | targetViewInsetBottom
BOOL | isKeyboardInOrTransitioningFromBackground
BOOL | keyboardAnimationIsShowing

## Detailed Description

Definition at line 120 of file FlutterViewControllerTest.mm.

## Method Documentation

## ◆ addInternalPlugins

- (void) addInternalPlugins |  |  |

## ◆ applicationBecameActive:

- (void) applicationBecameActive: |  | (NSNotification *) | notification |

## ◆ applicationDidEnterBackground:

- (void) applicationDidEnterBackground: |  | (NSNotification *) | notification |

## ◆ applicationWillEnterForeground:

- (void) applicationWillEnterForeground: |  | (NSNotification *) | notification |

## ◆ applicationWillResignActive:

- (void) applicationWillResignActive: |  | (NSNotification *) | notification |

## ◆ applicationWillTerminate: [1/2]

- (void) applicationWillTerminate: |  | (NSNotification *) | notification |

## ◆ applicationWillTerminate: [2/2]

- (void) applicationWillTerminate: |  | (NSNotification *) | notification |

## ◆ calculateKeyboardAttachMode:

- (FlutterKeyboardMode) calculateKeyboardAttachMode: |  | (NSNotification *) | notification |

## ◆ calculateKeyboardInset:keyboardMode:

- (CGFloat) calculateKeyboardInset: |  | (CGRect) | keyboardFrame
keyboardMode: |  | (int) | keyboardMode

## ◆ calculateMultitaskingAdjustment:keyboardFrame:

- (CGFloat) calculateMultitaskingAdjustment: |  | (CGRect) | screenRect
keyboardFrame: |  | (CGRect) | keyboardFrame

## ◆ createTouchRateCorrectionVSyncClientIfNeeded

- (void) createTouchRateCorrectionVSyncClientIfNeeded |  |  |

## ◆ discreteScrollEvent:

- (void) discreteScrollEvent: |  | (UIPanGestureRecognizer *) | recognizer |

## ◆ ensureViewportMetricsIsCorrect

- (void) ensureViewportMetricsIsCorrect |  |  |

## ◆ generatePointerDataForFake

- (PointerData FlutterViewController(Tests)): |  |  |

## ◆ goToApplicationLifecycle:

- (void) goToApplicationLifecycle: |  | (nonnull NSString *) | state |

## ◆ handleKeyboardNotification:

- (void) handleKeyboardNotification: |  | (NSNotification *) | notification |

## ◆ handlePressEvent:nextAction:

- (void) handlePressEvent: |  | (FlutterUIPressProxy *) | press
nextAction: |  | (ios(13.4)) | API_AVAILABLE

## ◆ invalidateKeyboardAnimationVSyncClient

- (void) invalidateKeyboardAnimationVSyncClient |  |  |

## ◆ keyboardAnimationView

- (UIView*) keyboardAnimationView |  |  |

## ◆ keyboardSpringAnimation

- (SpringAnimation*) keyboardSpringAnimation |  |  |

## ◆ onUserSettingsChanged:

- (void) onUserSettingsChanged: |  | (NSNotification *) | notification |

## ◆ performOrientationUpdate:

- (void) performOrientationUpdate: |  | (UIInterfaceOrientationMask) | new_preferences |

## ◆ sceneBecameActive:

- (void) sceneBecameActive: |  | (ios(13.0)) | API_AVAILABLE |

## ◆ sceneDidEnterBackground:

- (void) sceneDidEnterBackground: |  | (ios(13.0)) | API_AVAILABLE |

## ◆ sceneWillDisconnect:

- (void) sceneWillDisconnect: |  | (ios(13.0)) | API_AVAILABLE |

## ◆ sceneWillEnterForeground:

- (void) sceneWillEnterForeground: |  | (ios(13.0)) | API_AVAILABLE |

## ◆ sceneWillResignActive:

- (void) sceneWillResignActive: |  | (ios(13.0)) | API_AVAILABLE |

## ◆ setUpKeyboardAnimationVsyncClient:

- (void) setUpKeyboardAnimationVsyncClient: |  | (FlutterKeyboardAnimationCallback) | keyboardAnimationCallback |

## ◆ setUpKeyboardSpringAnimationIfNeeded:

- (void) setUpKeyboardSpringAnimationIfNeeded: |  | (CAAnimation *) | keyboardAnimation |

## ◆ sharedSetupWithProject:initialRoute:

- (void) sharedSetupWithProject: |  | (nullable FlutterDartProject *) | project
initialRoute: |  | (nullable NSString *) | initialRoute

## ◆ shouldIgnoreKeyboardNotification:

- (BOOL) shouldIgnoreKeyboardNotification: |  | (NSNotification *) | notification |

## ◆ startKeyBoardAnimation:

- (void) startKeyBoardAnimation: |  | (NSTimeInterval) | duration |

## ◆ surfaceUpdated:

- (void) surfaceUpdated: |  | (BOOL) | appeared |

## ◆ updateViewportMetricsIfNeeded

- (void) updateViewportMetricsIfNeeded |  |  |

## Property Documentation

## ◆ isKeyboardInOrTransitioningFromBackground

- (BOOL) isKeyboardInOrTransitioningFromBackground
| read write nonatomic assign

Definition at line 123 of file FlutterViewControllerTest.mm.

## ◆ keyboardAnimationIsShowing

- (BOOL) keyboardAnimationIsShowing
| read write nonatomic assign

Definition at line 124 of file FlutterViewControllerTest.mm.

## ◆ targetViewInsetBottom

- (double) targetViewInsetBottom
| read write nonatomic assign

Definition at line 122 of file FlutterViewControllerTest.mm.

The documentation for this category was generated from the following file:

- shell/platform/darwin/ios/framework/Source/FlutterViewControllerTest.mm