I'm using Flutter web and in my index.html I have :
<head>
<script src="https://maps.googleapis.com/maps/api/js?key={MY_KEY}"></script>
</head>
And when I run it, I can inspect the web and see the API key from the source code in the web browser. I need to hide it from the user because it's an important credential. is there any way I can do that? Thanks in advance!
I need a way other than restricting the API Key from google console. I expect to be able to hide the credentials in a way that users in the production environment won't be able to see these.