Search code examples
flutterandroid-studioinputkeyboardios-simulator

IOS Simulator Software Keyboard Not Appearing


Software Keyboard in IOS Simulator is not appearing and showing an error in the console using Android Studio and Flutter:

[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 790 pos 16: '(data.physical == 0 && data.logical == 0) ||
           (data.physical != 0 && data.logical != 0)': is not true.

Solution

  • To temporarily fix this, toggle:

    I/O -> Keyboard -> Connect Hardware Keyboard

    You will now be able to use the software keyboard and not the hardware one.