Animation support and platform specific design request #912
-
Using Native UI toolkits and yet writing once with quick iterative development is promising and is a step above both Flutter and Compose multi-platform. However, would appreciate some clarity for the following,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Anything we did would likely be entirely declarative rather than the imperative-style of Compose UI. That is, we can let you choose an animation to run and run it directly within the native UI toolkit, but we're unlikely to offer a time-based system where you control it from within Compose. This is exacerbated by the fact that the things you would normally want to animate often are not even exposed by the widgets as defined in your schema.
Hmm customize how? Can you elaborate a bit? You are already free to implement the widget interfaces differently on each platform depending on what makes sense for that platform. The goal is not to look and feel 100% the same across platforms, but to look and feel as if each implementation belongs on the specific platform it is written for. Similarly you can use runtime logic to detect the platform on which you're running and change the behavior that way. We don't offer this out-of-the-box but probably will soon. |
Beta Was this translation helpful? Give feedback.
I assume it would be something pretty basic like a string with common values ("crossfade", "slide-in", etc.).
It's not implemented yet, but #393 will eventually include things such as the device size to allow you to modify the layout that's shown in the same way you would do so with Compose UI and querying the device size.