isRegistered property

bool isRegistered

Whether this TestTextInput is registered with SystemChannels.textInput.

The binding uses the register and unregister methods to control this value when TestWidgetsFlutterBinding.registerTestTextInput is true.

Implementation

bool get isRegistered => TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger.checkMockMessageHandler(SystemChannels.textInput.name, _handleTextInputCall);