first cd into the project that you are currently working in ( type cd and the project name) then in terminal type "flutter pub add intl"