Last updated 3 years ago
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 .