If you, like me, installed Flutter on Ubuntu with the snap command and you need to know where the Dart SDK is located, wait no more, its here:
~/snap/flutter/common/flutter/bin/cache/dart-sdk
By the way, the flutter SDK is here:
~/snap/flutter/common/flutter
Note: ~ stands for your home folder path, mine is /home/luis
Hope this helps you!