From e44286a52742f1c82678fde696dbbbeca2748829 Mon Sep 17 00:00:00 2001 From: FaizHashmiCS22 Date: Tue, 25 Jul 2023 16:40:09 +0300 Subject: [PATCH] Made the IP Address Dynamic --- lib/home/home_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/home/home_screen.dart b/lib/home/home_screen.dart index e45d985..40cc2be 100644 --- a/lib/home/home_screen.dart +++ b/lib/home/home_screen.dart @@ -46,7 +46,7 @@ class _MyHomePageState extends State { Future printIps() async { for (var interface in await NetworkInterface.list(type: InternetAddressType.IPv4)) { - print("interface: ${interface.name}"); + print("interfaces: ${interface.name}"); if (interface.name == "eth0") { for (var address in interface.addresses) {