https://flutter.io/setup-macos/
Currently in documentation there is an info to export PATH:
export PATH=$HOME/flutter/bin:$PATH
By doing that you do not export path to Dart SDK and you are not able to use pub run command which is used by some of the tools like Intl.
It would be nice to also export Dart SDK which is downloaded with Flutter:
export PATH=$HOME/flutter/bin:$PATH
export PATH=$HOME/flutter/bin/cache/dart-sdk/bin/:$PATH