utils/number_utils
library
Functions
-
banNumber(String text)
→ dynamic
-
banNumber method to convert the number to Bengali number
This method is used to convert the number to Bengali number
This is very useful for localization
-
localizationCheckForNumber(dynamic data)
→ dynamic
-
localizationCheckForNumber method to check the number for localization
This method is used to check the number for localization
This is very useful for localization
This method is can be uses for any number
Here locale is used to check the locale
If the locale is 'bn_BD' then the number will be converted to Bengali number
Here using banNumber is used to convert the number to Bengali number
Inside banNumber method numberMultiLan is used to convert the number to Bengali number
This method is a global method
This method is used in many places
-
numberMultiLan(String number)
→ dynamic
-
numberMultiLan method to convert the number to Bengali number
This method is used to convert the number to Bengali number
This is very useful for localization