handy 1.0.0 handy: ^1.0.0 copied to clipboard
A collection of handy utilities that I found useful while writing my own programs.
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());
}