Skip to content
pubscout

number_to_words

1.0.0, released 6 years ago by an unverified publisher

Convert numbers into words by locale ID supporting English and Malayalam.

WASM-ready
$ flutter pub add number_to_words
Source repository

What it does

Provides a simple API to convert numeric values into their word representations based on a specified locale identifier. Currently supports English and Malayalam languages.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display numbers as words in English or Malayalam.
  • Building invoice or receipt generation apps requiring written number amounts.

Skip it when

  • You need support for languages other than English and Malayalam.
  • You require complex currency-aware number formatting.

Strengths

  • Simple and straightforward API.
  • Supports Malayalam in addition to English.

Weaknesses

  • Very limited language support (only English and Malayalam).
  • Minimal documentation and features.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:number_to_words/number_to_words.dart';

void main() {
  print(NumberToWord().convert('ml', 21));
  print(NumberToWord().convert('en-in', 1000));
}

Alternatives

Packages that do the same job and could replace number_to_words.