keyboard_languages 0.1.2 copy "keyboard_languages: ^0.1.2" to clipboard
keyboard_languages: ^0.1.2 copied to clipboard

outdated

Flutter plugin to obtain available keyboard languages (iOS and Android).

keyboard_languages #

Flutter plugin that lists available keyboard languages in Android/iOS device.

Installation #

Add keyboard_languages: ^0.1.2 in your pubspec.yaml dependencies. And import it:

import 'package:keyboard_languages/keyboard_languages.dart';

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.'];
}

For a more detail example please take a look at the example folder.

2
likes
0
pub points
10%
popularity

Publisher

verified publishermegatok.com

Flutter plugin to obtain available keyboard languages (iOS and Android).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on keyboard_languages