ms_range 0.2.0 ms_range: ^0.2.0 copied to clipboard
A powerfull lib to creante ranges and compare if number is in range
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]