Do I have to call it from specific platforms (in my case Android and desktop)?
Asked
Active
Viewed 455 times
1 Answers
1
No, it's not available. It's because it has different API on these platforms.
On Android it has popupProperties
parameter, which contains a lot of Android specific parameters, .e.g dismissOnBackPress
is meaningless on Desktop.
On Desktop this parameter is replaced with only one of popupProperties
properties - focusable
.
You can create your own version using expect
/actual
and reuse platform specific version with the needed parameters

Phil Dukhov
- 67,741
- 15
- 184
- 220