Allow --ipv6 flag for flutter attach on iOS devices (#123822)

Allow --ipv6 flag for flutter attach on iOS devices
This commit is contained in:
Victoria Ashworth
2023-04-04 17:33:28 -05:00
committed by GitHub
parent dbc18bbdb8
commit 842873c2fc
4 changed files with 81 additions and 13 deletions

View File

@@ -603,8 +603,7 @@ abstract class FlutterCommand extends Command<void> {
argParser.addFlag(ipv6Flag,
negatable: false,
help: 'Binds to IPv6 localhost instead of IPv4 when the flutter tool '
'forwards the host port to a device port. Not used when the '
'"--debug-port" flag is not set.',
'forwards the host port to a device port.',
hide: !verboseHelp,
);
_usesIpv6Flag = true;