money_formatter
0.0.7, released 10 months ago by wiseminds.cc
Format currencies with custom symbols and separators without locale ties.
WASM-ready
What it does
MoneyFormatter provides a way to format double values into various currency formats, compact forms, and string representations using customizable separators and symbols. It also includes built-in comparison tools and fast arithmetic calculation methods.
AI-written summary of version 0.0.7, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to format currency numbers without relying on standard device or app localization.
- You need custom thousands and decimal separators alongside configurable currency symbols.
- You want to perform simple arithmetic calculations chained directly onto formatting instances.
Skip it when
- You require full device localization and locale-aware number formatting.
- You need advanced multi-currency conversion rates fetched from an API.
Strengths
- Completely independent of localization settings.
- Supports fast mathematical calculations and instance chaining.
- Provides both normal and compact output formats.
Weaknesses
- Does not automatically fetch or handle locale-specific currency rules natively.
- Limited to basic math operations and simple formatting outputs.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
MoneyFormatter fmf = MoneyFormatter(amount: 12345678.9012345);
print(fmf.output.symbolOnLeft); // $ 12,345,678.90Alternatives
Packages that do the same job and could replace money_formatter.
Works with
Packages commonly used together with money_formatter: ones it builds on, ones built on it, and its own family.