A powerfull lib to creante ranges and compare if number is in range
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.
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]