install static method
void
install(
- WidgetTester tester, {
- double fakeKeyboardHeight = _defaultKeyboardHeight,
- Duration keyboardAnimationTime = const Duration(milliseconds: 600),
Implementation
static void install(
WidgetTester tester, {
double fakeKeyboardHeight = _defaultKeyboardHeight,
Duration keyboardAnimationTime = const Duration(milliseconds: 600),
}) {
if (_instance != null) {
return;
}
_instance = TestSuperKeyboard(
tester,
fakeKeyboardHeight: fakeKeyboardHeight,
keyboardAnimationTime: keyboardAnimationTime,
);
SuperKeyboard.testInstance = _instance;
}