I know that I can detect the operating system with Platform.isAndroid, Platform.isIOS, etc. but there isn\'t something like Platform.isWeb
Platform.isAndroid
Platform.isIOS
Platform.isWeb
There is a code written Below to get OS/web where flutter is running...
if(kIsWeb) return Text("It's web"); else if(Platform.isAndroid){ return Text("it's Android"); }