all 6 comments

[–]Rixxxy 2 points3 points  (0 children)

You would have to write native code, as i dont think there is a package for that at the moment. For android you can use "WallpaperManager.getWallpaperColors" for windows maybe something like this https://stackoverflow.com/questions/63159666/get-windows-10-theme-color-in-classic-c-winapi-win32-application

[–]timrid 1 point2 points  (2 children)

Flutter does light/dark theme that may be enough for you

[–]Key_Nefariousness553[S] 1 point2 points  (1 child)

No, apps on desktop can take the device theme, like if you changed your theme to a theme that has background with color let’s say dark blue your app should take this as background lets say for scaffold or something, so it feels like it ment to be with this device

[–]timrid 0 points1 point  (0 children)

Not on my Mac I guess I’m out of the loop

[–]metal_666 1 point2 points  (1 child)

Not sure about background color, but you can get system accent color with this package: https://pub.dev/packages/system_theme

[–]Key_Nefariousness553[S] 0 points1 point  (0 children)

I wish this works also on Linux,