On iOS, you can use a packet-sniffing app called Hodor, which allows you to capture Flutter's network packets directly without modifying any code. It also supports capturing TCP and UDP traffic.
https://apps.apple.com/en/app/id1608857736