Convert The Numbers Into Humanized text
Features
Support Both English And Arabic Languages
Getting started
To use NumberToString in your project, add the number_to_string package to pubspec.yaml:
number_to_string: 0.0.1
Import the package to use it:
import 'package:number_to_string/number_to_string.dart';
Usage
- First Create New Instance
NumberToString numberToString = new NumberToString();
- English use
Container(
child:Text(number.parse(1000, "en")) // Thousand
)
- Arabic use
Container(
child:Text(number.parse(1000, "ar")) // الف
)