lim 0.1.6 copy "lim: ^0.1.6" to clipboard
lim: ^0.1.6 copied to clipboard

A set of maximum and minimum constant values for Dart datatypes and character codes.

A set of maximum and minimum constant values for Dart datatypes and character codes.

Features #

Helper min/max values most developers highly anticipate being available. Especially me.

Usage #

The working example which can also be found in the repository in example/lim_example.dart

import 'package:lim/lim.dart';

void main() {
  print('''
    CharCode: <${Lim.minCharCode}>..<${Lim.maxCharCode.toRadixString(0x10).toUpperCase()}>
    Double: <${Lim.minDouble}>..<${Lim.maxDoubleNegative}>,0,<${Lim.minDoublePositive}>..<${Lim.maxDouble}>
    DateTime: <${Lim.minDateTime}>..<${Lim.maxDateTime}>
    Int: <${Lim.minInt}>..<${Lim.maxInt}>
  '''
      .replaceAll(RegExp(r'^\s+', multiLine: true), ''));
}
0
likes
160
pub points
2%
popularity

Publisher

verified publisheraiurovet.com

A set of maximum and minimum constant values for Dart datatypes and character codes.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on lim