sinhala_unicode_converter 1.0.6 copy "sinhala_unicode_converter: ^1.0.6" to clipboard
sinhala_unicode_converter: ^1.0.6 copied to clipboard

Sinhala Language Convert to the English Unicode

Sinhala Unicode Converter #

This package provides a simple API for converting Sinhala text between different encodings. The SinhalaUnicode class exposes methods like singlishToUnicode() for performing the conversions.

Installation #

To use this package, add sinhala_unicode_converter as a dependency in your pubspec.yaml file:

dependencies:
  sinhala_unicode_converter: ^1.0.6

Usage #

import 'package:sinhala_unicode_converter/sinhala_unicode_converter.dart';

void main() {
  // Input text in Sinhala
  String inputText = "සිංහල";

  // Convert the input text
  String convertedText = SinhalaUnicode.singlishToUnicode(inputText);

  // Print the converted text for debugging
  print("Converted Text: $convertedText");
}

Features #

Convert Sinhala text to Unicode. Additional features can be added in future updates.

Example #

import 'package:sinhala_unicode_converter/sinhala_unicode_converter.dart';

void main() {
  // Input text in Sinhala
  String inputText = "අම්මා";

  // Convert the input text to Unicode
  String convertedText = SinhalaUnicode.singlishToUnicode(inputText);

  // Print the converted text
  print("Converted Text: $convertedText"); // Output: wïud
}
3
likes
0
points
77
downloads

Publisher

verified publisherlankatechinnovations.com

Weekly Downloads

Sinhala Language Convert to the English Unicode

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on sinhala_unicode_converter