number_words_reader 0.0.1 copy "number_words_reader: ^0.0.1" to clipboard
number_words_reader: ^0.0.1 copied to clipboard

retracted

A Package to convert numbers to Arabic or English words.

Number Words #

A Flutter package for converting numbers to Arabic and English words.

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

Installation #

dependencies:
  number_words_reader: ^1.0.0

Then, run flutter pub get to fetch the package.

import #

import 'package:number_words_reader/number_words_reader.dart';

Usage #

import 'package:number_words_reader/number_words_reader.dart';

void main() {
  // Convert the number 4500 to Arabic words
  var arabicResult = NumberWordsReader.convertToArabic(4500);
  print(arabicResult); // Output: "أربعة آلاف وخمسمائة"

  // Convert the number 4500 to English words
  var englishResult = NumberWordsReader.convertToEnglish(4500);
  print(englishResult); // Output: "Four thousand five hundred"
}

Contributing Feel free to contribute to this package by opening issues or submitting pull requests on the GitHub repository.

License This package is licensed under the MIT License - see the LICENSE file for details.

Feel free to contribute to this package by opening issues or submitting pull requests on the GitHub repository.

5
likes
0
pub points
64%
popularity

Publisher

unverified uploader

A Package to convert numbers to Arabic or English words.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on number_words_reader