Simplify platform selection code (#5314)
Simplify platform selection code (#5314)


flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij