[ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: SocketException: Failed host lookup: 'worldtimeapi.org' (OS Error: No address associated with hostname, errno = 7) code example
Example: SocketException: Failed host lookup
//Add this to your androidManifest file(app/src/main/)
<uses-permission android:name="android.permission.INTERNET"/>