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. You can also configure it to work with Charles. It also supports capturing TCP and UDP traffic.
https://apps.apple.com/en/app/id1608857736