Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter get language code

import 'dart:io';

print(Platform.localeName)
// Can be: "en", or "en_US", or "en_US.UTF-8"
 
PREVIOUS NEXT
Tagged: #flutter #language #code
ADD COMMENT
Topic
Name
1+8 =