avro_phonetic_textfield 1.0.2 copy "avro_phonetic_textfield: ^1.0.2" to clipboard
avro_phonetic_textfield: ^1.0.2 copied to clipboard

A Flutter package for Bangla phonetic typing with real-time transliteration and language mode toggle.

Avro Phonetic TextField #

A Flutter package that provides a custom TextField widget with Bangla phonetic typing support. English characters are automatically transliterated into Bangla upon pressing the space key. Users can toggle between Bangla and English typing modes using Ctrl + M.

Features #

  • Bangla Phonetic Typing: Type in English, and the text will be transliterated to Bangla.
  • Toggle Language Mode: Switch between Bangla and English using Ctrl + M.
  • Fully Customizable: Supports all properties of Flutter's built-in TextField, except for the controller, which is internally managed.
  • Real-Time Transliteration: The transliteration is applied when the space key is pressed.

Installation #

Add the following to your pubspec.yaml:

dependencies:
    avro_phonetic_textfield: 1.0.2

Then, run:

flutter pub get

Usage #

// import the package
import 'package:avro_phonetic_textfield/avro_phonetic_textfield.dart';

// anywhere in the app
AvroPhoneticTextField(
    decoration: InputDecoration(
        labelText: 'Type in Bangla',
        border: OutlineInputBorder(),
    ),
    maxLines: 1,
    style: TextStyle(fontSize: 18),
    keyboardType: TextInputType.text,
    textAlign: TextAlign.start,
)

Properties #

AvroPhoneticTextField supports all properties of Flutter’s built-in TextField.

How It Works #

  • Type in English characters (e.g., ami → আমি).
  • Press space to trigger transliteration.
  • Use Ctrl + M to switch between Bangla and English modes.

License #

The Unlicense

0
likes
130
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for Bangla phonetic typing with real-time transliteration and language mode toggle.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Unlicense (license)

Dependencies

flutter

More

Packages that depend on avro_phonetic_textfield