SoftwareKeyboardHeightSimulator constructor

const SoftwareKeyboardHeightSimulator({
  1. Key? key,
  2. required WidgetTester tester,
  3. bool isEnabled = true,
  4. bool enableForAllPlatforms = false,
  5. KeyboardState initialKeyboardState = KeyboardState.closed,
  6. double keyboardHeight = _defaultKeyboardHeight,
  7. bool animateKeyboard = false,
  8. required Widget child,
})

Implementation

const SoftwareKeyboardHeightSimulator({
  super.key,
  required this.tester,
  this.isEnabled = true,
  this.enableForAllPlatforms = false,
  this.initialKeyboardState = KeyboardState.closed,
  this.keyboardHeight = _defaultKeyboardHeight,
  this.animateKeyboard = false,
  required this.child,
});