FLUTTER ECOSYSTEM

i-aiymen/windows_ime_manager

一个用于在 Windows 上管理输入法编辑器(IME)的 Flutter 插件,支持在不同语言之间无缝切换。

windows_ime_manager 项目封面
Stars
5
Forks
2
最近推送(UTC)
2024年4月25日
项目状态
未归档
Muhammed Ayimen Abdul Latheef  GitHub avatar
GITHUB User

Muhammed Ayimen Abdul Latheef ↗

Technical Product Lead

Tokyo, Japan
语言C++CMakeDartC

技术话题

此仓库发布的插件

使用的依赖

依赖清单 4 项
  • flutter{"sdk":"flutter"}
  • plugin_platform_interface^2.0.2
  • flutter_lints开发依赖^3.0.0
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

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: https://img.shields.io/badge/linkedin-blue.svg?&style=for-the-badge&logo=linkedin&logoColor=white

Features Supported

Features Windows
Setup IME :heavy_check_mark:

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