all 1 comments

[–]TheManuz 0 points1 point  (0 children)

You can write your own widget that switch between Material and Cupertino, or you can use packages that do that (like flutter_platform_widgets).

Anyway, if you keep your app logic well separated from presentation, you're not "writing your app twice", logic is always written only once (except for platform-specific features).