ms_range 0.1.0 ms_range: ^0.1.0 copied to clipboard
A powerfull lib to creante and compare number ranges
Overview #
A powerfull lib to creante and compare a number in ranges
Whats MS_Range do? #
Generate a range of two numbers and providers methods to check if a number is in this range.
Usage #
Create a new Range instance:
import 'package:ms_range/ms_range.dart';
Range range = Range(1, 6);
Call some methods of range to do hard work:
range.isInRange(2); // true
range.list; // [1, 2, 3, 4, 5, 6]