compose-multiplatform
compose-multiplatform copied to clipboard
Support PlatformTextInputPluginRegistry for non-android targets
Compose 1.4 adds new abstraction:
androidx.compose.ui.text.input.PlatformTextInputPluginRegistry
Documentation says:
The only time a new service type and adapter should be defined is
if you are building your own text input system from scratch, including your own `TextField`
composables.
There is also a demo for the new feature: androidx.compose.foundation.demos.text.PlatformTextInputAdapterDemo.kt
See also: https://partnerissuetracker.corp.google.com/issues/267235947
Support the new feature on demand.