
Flutter is Google’s open-source UI toolkit for building natively compiled applications for mobile, web, and desktop from a single codebase.
My Contribution
Exposed inline prediction configuration through Flutter text fields so apps can explicitly control iOS 17+ inline predictive text behavior and ensure the engine handles attributed marked text correctly.
Key changes across 11 files (framework + engine):
- Added
enableInlinePredictionoption toTextInputConfiguration,EditableText,TextField, andCupertinoTextField - Mapped
enableInlinePredictiontoUITextInlinePredictionTypeon iOS 17+ in the engine - Handled
setAttributedMarkedText:selectedRange:by forwarding the plain string to the existing marked text flow - Kept the feature opt-in, preserving existing behavior by default
This gives Flutter apps explicit control over inline predictive text on supported iOS versions.