I cannot find any reference, but the problem is appearently linked to the Flutter SDK version I was using: on WSL Kali Linux I had a more recent Flutter version, while on Windows an older one.
When I upgraded flutter on Windows, to version 3.16.0
the theme of ElevatedButton changed, matching the one I had on Linux: