power_extensions 0.2.0 power_extensions: ^0.2.0 copied to clipboard
Extensions for the core dart language classes.
Power Extensions #
This package contains useful extensions for the dart language core classes
Features #
BigInt #
The BigIntExtensionBase class contains the following methods:
- precision
- powerOfTen
- isPowerOfTen
- scale
- significandString
- significand
- significandLength
String #
The StringExtensionBase class contains the following methods:
- trimLeftChar
- trimRightChar
Getting started #
Simply import the package and use the core_extensions libray or area ones.
Usage #
BigInt.from(-1000000001).isPowerOfTen;
See the example folder for more examples
Additional information #
File issues on the github repository