better 0.1.0-dev.2 copy "better: ^0.1.0-dev.2" to clipboard
better: ^0.1.0-dev.2 copied to clipboard

outdated

This package serves as an extension to many dart classes. The goal is to provide developers who use this package a more fluid development experience where they don't have to think about some of the mo [...]

A library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:better/better.dart';

main() {
  var r = Random();
  var length = r.nextInt(1 << 12);
  print('generating list...');
  var list = [for(int i = 0; i < length; i++) r.nextInt(1 << 31)];
  print('list generated');
  print('calculating stats');
  var start = DateTime.now().millisecondsSinceEpoch;
  var stats = list.stats;
  var end = DateTime.now().millisecondsSinceEpoch;
  print('Finished calculating stats in ${end - start} ms');
  print(stats);
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

This package serves as an extension to many dart classes. The goal is to provide developers who use this package a more fluid development experience where they don't have to think about some of the more mundane tasks, like summing the elements in a list.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, pedantic, test

More

Packages that depend on better