How to run Flutter application on web with an https address and not http: How to run Flutter application on web with an https address and not http: dart dart

How to run Flutter application on web with an https address and not http:


You can use mkcert to create a certificate and sign it with a Certificate Authority (CA) that is trusted locally by your device and browser.

As for this feature to be directly baked into the Flutter plugin, there's an active feature request on GitHub that you can track.