entao_range 1.0.6 copy "entao_range: ^1.0.6" to clipboard
entao_range: ^1.0.6 copied to clipboard

open range and close range.

example/entao_range_example.dart

import 'package:entao_range/entao_range.dart';

void main() {
  for (int i in 0.to(10)) {
    print(i);
  }
  print(0.to(10, step: 2));
  print(0.until(10, step: 2));
  print(10.downTo(0, step: -2));
  print(10.downUntil(0, step: -2));

  CloseRange r = 1.to(10);
  print(r);
  OpenRange r2 = 1.until(10);
  print(r2);
}
0
likes
150
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

open range and close range.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on entao_range