You can pass those arguments to your flutter command line: flutter run -d chrome --web-tls-cert-path=<cert_path> --web-tls-cert-key-path=<key_path> --web-port=8444
See this PR https://github.com/flutter/flutter/issues/60704.
See the available options: https://github.com/arpitgandhi9/flutter/blob/2063fde4ae1ce9ef725a6438de01a68bda8938b1/packages/flutter_tools/lib/src/runner/flutter_command.dart#L237