number_to_string 0.0.3
number_to_string: ^0.0.3 copied to clipboard
Convert The Numbers Into Humanized text
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
copied to clipboard
Import the package to use it:
import 'package:number_to_string/number_to_string.dart';
copied to clipboard
Usage #
- First Create New Instance
NumberToString numberToString = new NumberToString();
copied to clipboard
- English use
Container(
child:Text(number.parse(1000, "en")) // Thousand
)
copied to clipboard
- Arabic use
Container(
child:Text(number.parse(1000, "ar")) // الف
)
copied to clipboard