networking.wifi-info entitlement is required in order to get the status correctly.
Add following tag to your Runner.entitlements file:
com.apple.developer.networking.wifi-info
For connecting to WiFi, you also need entitlement networking.HotspotConfiguration.
Add:
com.apple.developer.networking.HotspotConfiguration
IoS 17.6.1
bool connected = await WiFiForIoTPlugin.connect(STA_DEFAULT_SSID, password: STA_DEFAULT_PASSWORD, joinOnce: true, security: NetworkSecurity.WPA);
This always return false, whenever network gets connected or not.