keyboard_languages

Last updated:

0 purchases

keyboard_languages Image
keyboard_languages Images
Add to Cart

Description:

keyboard languages

keyboard_languages #
Flutter plugin that lists available keyboard languages in Android/iOS device.
Installation #
Add keyboard_languages: ^0.1.4 in your pubspec.yaml dependencies, and import it:
import 'package:keyboard_languages/keyboard_languages.dart';
copied to clipboard
How to use #
Simply call getKeyboardLanguages() to receive a list of supported keyboard languages:
List<String> keyboardLanguages;
// Platform messages may fail, so we use a try/catch PlatformException.
// We also handle the message potentially returning null.
try {
keyboardLanguages = await getKeyboardLanguages() ?? <String>[];
} on PlatformException {
keyboardLanguages = <String>['Failed to get keyboard languages.'];
}
copied to clipboard
For a more detailed example please take a look at the example folder.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.