operatingSystemName
operatingSystemName
Example:
import "package:system_info2/system_info2.dart";
print("Operating System name : ${SysInfo.operatingSystemName}");Last updated
Was this helpful?
Provides the name of your operating system.
Possible values are:
Ubuntu
MacOS
Windows
iOS
Android
import "package:system_info2/system_info2.dart";
print("Operating System name : ${SysInfo.operatingSystemName}");Please help expand the list of examples by raising an issue with examples on the onpub.dev github site.
Last updated
Was this helpful?
Was this helpful?