title: How to get device IP in Dart/Flutter
body: <p>I am currently writing an app where the user needs to know the IP address of their phone/tablet. Where would I find this information?</p>
  
  <p>I only want to know what the local IP address is, such as, 192.168.x.xxx and NOT the public IP address of the router.</p>
  
  <p>So far, I can only seem to find <code>InternetAddress.anyIPv4</code> and <code>InternetAddress.loopbackIPv4</code>. The loopback address is not what I want as it is 127.0.0.1.</p>