numeral_system 1.0.0 copy "numeral_system: ^1.0.0" to clipboard
numeral_system: ^1.0.0 copied to clipboard

A package to show number in the form of International Numeral System(Millions, Billions, Trillions) and in Indian Numeral System(Lakh, Crore, Arab).

Flutter Numeral System Both in International and Indian/ Hindu-Arabic System #

This plugin helps you to display number as per International or Indian Numeral System. Internation Numeral System means the system that counts number in the form of ONES, TENS, HUNDREDS, THOUSANDS, TEN THOUSANDS, HUNDRED THOUSANDS, MILLION, etc. Indian or Hindu-Arabic System means the system that counts number in the form of ONES, TENS, HUNDREDS, THOUSANDS, TEN THOUSANDS, LAKH , TEN LAKH, CRORE, etc.

Table of contents #

Features #

  • You can use any of the numeral system.
  • You can add textstyle.
  • You can chose the numbers of digit to be displayed after decimal.

Installation #

Add package to the the pubspec.yaml.

numeral_system:

Import the package.

import 'package:numeral_system/numeral_system.dart';

Add NumeralSystem to the widget tree

Scaffold(
    body: Center(
        child:
            //By Default i.e INTERNATIONAL
            NumeralSystem(digit: 934023),
        )
    )

For Indian System

NumeralSystem(
    numberSystem: NumberSystem.indian,
    digit: 987387659876,
    afterDecimalDigits: 5,
    ),

For 4 digits after decimal

NumeralSystem(
    digit: 195659876,
    numberSystem: NumberSystem.indian,
    afterDecimalDigits: 4,
    ),

For adding textstyle

NumeralSystem(
    digit: 198765987,
    textStyle: TextStyle(
        fontSize: 20,
        fontWeight: FontWeight.bold,
        color: Colors.red)
    ),

Support and feedback #

If I miss to add some feature, feel free to open a ticket or contribute! You can reach me here: LinkedIn GitHub Medium Google DevLibrary

5
likes
145
points
2
downloads

Publisher

verified publisherlvikramsah.com.np

Weekly Downloads

A package to show number in the form of International Numeral System(Millions, Billions, Trillions) and in Indian Numeral System(Lakh, Crore, Arab).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on numeral_system