I want to write an efficient platform specific UI in flutter. I know that I can use Platform.isIOS to detect if the platform is iOS and same for others, but checking for the platform for many widgets is cumbersome.
Is there any other way where I can avoid those checks and also is efficient at the same time ?