Platform.operatingSystem will tell you whether you\'re running on Android or iOS.
Platform.operatingSystem
How can I check which version of the device OS am I running on?
You can use platform channels for this task. In native use os specific code to get version and resend it to flutter. Here is good example with battery level