TestTextInput constructor Null safety

TestTextInput(
  1. {VoidCallback? onCleared}
)

Create a fake keyboard backend.

The onCleared argument may be set to be notified of when the keyboard is dismissed.

Implementation

TestTextInput({ this.onCleared });