persian_tools
1.0.3, released 4 years ago by an unverified publisher
An anthology of tools for the Persian language, including number/word conversion and validation.
What it does
Provides utility functions and string extensions for Persian language tasks, such as converting between Persian numbers and words, validating Iranian national IDs, checking bank IBANs (SHEBA), validating ATM card numbers, and parsing vehicle plates.
AI-written summary of version 1.0.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to convert numbers to Persian words or Persian words to numbers.
- You need to validate Iranian national IDs, phone numbers, bank card numbers, or SHEBA accounts.
- You need to format and process Persian text, digits, and vehicle plates.
Skip it when
- You are not working with Persian language data or Iranian local formats.
Strengths
- Wide variety of helper functions and convenient String extensions for Persian text and numbers.
- Supports multiple platforms including Android, iOS, Web, Windows, macOS, and Linux.
- Zero dependencies.
Weaknesses
- Domain-specific exclusively to Persian language and Iranian validation standards.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
var number = 'سی سه';
var result = addOrdinalSuffix(number);Alternatives
Packages that do the same job and could replace persian_tools.
- flutter_arb_translator
A command line tool to automatically translate Flutter ARB localization files using various APIs.
71Compare - arb_generator
Generate ARB localization files from CSV files.
52Compare - flutter_locales
Easily localize Flutter apps using JSON files with dynamic locale switching and persistent storage.
51Compare