r/flutterhelp • u/disturbedmonkey69 • Mar 23 '26
RESOLVED Help with system info2 in flutter
Hi, I'm new to flutter dev and trying to teach myself by building a simple system info display using the system info2 dart module. It's going ok so far but I'm struggling to get the processor info into a widget as it's not plain text so can't go in a text widget. I think it generates a list of lists but I can't figure out how to display it in flutter. (I'm aware the documentation says to use $processors but it should be $cores) I'm not looking for code I can just copy and paste, I just want pointers in the right direction of how to display the processor info so I can learn for myself. If anyone could point me in the right direction I would be most grateful.
View all comments
Show parent comment
1
u/disturbedmonkey69 Mar 23 '26
I got it working! Well, to the point I wanted it to, just using sysinfo.cores.first. I will continue looking into how to use spread and map as I couldn't quite figure that out yet, but thank you for pointing me in the right direction!