diff --git a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm index e249cd5601..f6460f2309 100644 --- a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm +++ b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterTextInputPlugin.mm @@ -536,7 +536,7 @@ static char markerKey; kSelectionIsDirectionalKey : @NO, kComposingBaseKey : @(composingBase), kComposingExtentKey : @(composingExtent), - kTextKey : [NSString stringWithUTF8String:_activeModel->GetText().c_str()] + kTextKey : [NSString stringWithUTF8String:_activeModel->GetText().c_str()] ?: [NSNull null], }; }