Flutter obtenga código de idioma

import 'dart:io';

print(Platform.localeName)
// Can be: "en", or "en_US", or "en_US.UTF-8"
Solo developer