dart_interval 0.1.3 icon indicating copy to clipboard operation
dart_interval: ^0.1.3 copied to clipboard

This library provides data structure and operations for intervals in Dart.

example/main.dart

import 'package:dart_interval/dart_interval.dart';

void main() {
  final v3 = Interval.between(516, 923);
  final v1 = Interval.between(552, 858);
  final v2 = Interval.between(2, 5);
  final v4 = Interval.between(7, 9);

  print(v1 & v2);
  print(v1 & v3);
  print(v2 & v4);
}
2
likes
120
pub points
28%
popularity

Publisher

verified publisher iconfxcdev.com

This library provides data structure and operations for intervals in Dart.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

More

Packages that depend on dart_interval