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

outdated

A collection of handy utilities that I found useful while writing my own programs.

example/handy_example.dart

import 'package:handy/handy.dart';

enum TestEnum {
  grouping,
  singleTest,
}

void main() {
  print(TestEnum.grouping.toShortString());

  Range<int> oneTen = Range<int>(1, 10);

  print(oneTen.random());
  print(oneTen.randomDouble());

  print(oneTen.clamp(0.9));
  print(oneTen.clamp(100));

  print(randomBool());
}
2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A collection of handy utilities that I found useful while writing my own programs.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on handy