Skip to content

A Flutter plugin for managing Input Method Editors (IME) on Windows, supporting seamless switching between different languages.

License

Notifications You must be signed in to change notification settings

i-aiymen/windows_ime_manager

Repository files navigation

windows_ime_manager

pub package style: lint

The windows_ime_manager package enables easy management of Input Method Editors (IME) for Windows applications developed with Flutter. It supports Japanese and English languages, allowing for straightforward IME setup and switching. This package is designed to enhance multilingual input in desktop applications, providing a reliable and simple solution for developers looking to incorporate diverse language support.

Feel free to connect me at:

Features Supported

Features Windows
Setup IME ✔️

Platform Support

Windows

Languages Supported

Languages
Japanese
English
Arabic (Saudi Arabia)
Malayalam
Hindi
Spanish (Spain)
French (France)
Russian
Chinese
Dutch (Netherlands)
German (Germany)
Italian (Italy)

Usage

Import the package with:

import 'package:windows_ime_manager/windows_ime_manager.dart';

Create an instance of the WindowsImeManager class:

final _windowsImeManagerPlugin = WindowsImeManager();

Create a function to set the IME using the enums:

Future<void> setLanguageIme(LanguageIme languageIme) async {
  try {
    await _windowsImeManagerPlugin.setLanguageIme(languageIme);
  } on PlatformException {
    debugPrint('Failed to set language IME.');
  }
}

Call the function with the desired LanguageIme enums:

setLanguageIme(LanguageIme.japaneseHalfWidthKatakanaIme);
setLanguageIme(LanguageIme.englishIme);

See the example app for detailed implementation information.

Types of IME Supported

IME Types
English
Arabic
Malayalam
Hindi
Spanish
French
Russian
Chinese
Dutch
German
Italian
Hiragana
Half-Width Katakana
Full-Width Katakana
Half-Width Alphanumeric

About

A Flutter plugin for managing Input Method Editors (IME) on Windows, supporting seamless switching between different languages.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published