intranet_ip

get local intranet ip with tcp bind

use

import 'package:intranet_ip/intranet_ip.dart';

void main() async {
  final ip = await intranetIpv4();
  print(ip);
  print(ip.rawAddress);
}

Libraries

intranet_ip