Flutter Get Language Code

import 'dart:io';

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