getLanguage method

List<List> getLanguage(
  1. int index
)
override

Implementation

List<List> getLanguage(int index) {
  switch (defaultLayouts[index]) {
    case VirtualKeyboardDefaultLayouts.English:
      return _defaultEnglishLayout;
    case VirtualKeyboardDefaultLayouts.Arabic:
      return _defaultArabicLayout;
    default:
  }
  return _defaultEnglishLayout;
}