PS C:UsersuserStudioProjectsapp> flutter gen-l10n Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source! Found syntax errors.

Solution

Change from “intl: any” to intl: ^0.18.0