numeral_system

Creator: coderz1093

Last updated:

Add to Cart

Description:

numeral system

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
Installation
Support and feedback

Features #

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

Installation #
Add package to the the pubspec.yaml.
numeral_system:
copied to clipboard
Import the package.
import 'package:numeral_system/numeral_system.dart';
copied to clipboard
Add NumeralSystem to the widget tree
Scaffold(
body: Center(
child:
//By Default i.e INTERNATIONAL and two digits after decimal
NumeralSystem(digit: 934023),
)
)
copied to clipboard
For Indian System
NumeralSystem(
numberSystem: NumberSystem.indian,
digit: 987387659876,
digitAfterDecimal: DigitAfterDecimal.one,
),
copied to clipboard
For 3 digits after decimal
NumeralSystem(
digit: 195659876,
numberSystem: NumberSystem.indian,
digitAfterDecimal: DigitAfterDecimal.three,
),
copied to clipboard
For adding textstyle
NumeralSystem(
digit: 987654,
digitAfterDecimal: DigitAfterDecimal.three,
textStyle: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
color: Colors.red)),
),
copied to clipboard
Support and feedback #
If I had missed anything to add, feel free to open a ticket or contribute!
You can reach me here:
LinkedIn |
GitHub |
Medium |
Google DevLibrary

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.