79535063

Date: 2025-03-25 23:27:01
Score: 1
Natty:
Report link

Use --dart-define= and --dart-define-from-file= to resolve this.

Flutter requires the variables during build and not runtime. Either add .env file to assets and use dotenv library or use the above mentioned to define variables during flutter build web --dart-define-from-file=env.json.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: VP Lex