integer 2.0.1
integer: ^2.0.1 copied to clipboard
Dart's native integers in custom bit-width format like i2, i4, i8, i16, i32, ix and u1, u2, u4, u8, u16, u32, ux...
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add integerWith Flutter:
$ flutter pub add integerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
integer: ^2.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:integer/integer.dart';