Skip to content
pubscout

spelling_number

0.0.4, released 4 years ago by an unverified publisher

Flutter plugin to convert numbers into their written word form across 14 languages.

WASM-ready
$ flutter pub add spelling_number
Source repository

What it does

Provides a SpellingNumber utility to convert numerical values into words, including support for currency, weights, and decimals. It supports 14 languages out of the box, including Arabic, English, French, and Spanish.

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

Use it when

  • You need to spell out numbers, currencies, or weights in words within your Flutter application.
  • Your application requires multi-language number spelling including Arabic.

Skip it when

  • You require complex locale-aware number formatting like currency symbols and grouping separators rather than full word spelling.

Strengths

  • Supports 14 different languages including Arabic with proper grammatical exceptions.
  • Allows custom whole units, fraction units, and decimal separators for currency and weights.
  • Easy to use with a simple Dart constructor and convert method.

Weaknesses

  • Limited to the 14 built-in languages unless custom JSON definitions are provided.
  • Minimal documentation for advanced custom language configurations.

Setup

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

SpellingNumber().convert(1234); // => 'one thousand two hundred and thirty-four'

Alternatives

Packages that do the same job and could replace spelling_number.