mirror of
https://github.com/Livinglist/Hacki.git
synced 2025-08-06 18:24:42 +08:00

* added onboard flow. * bumped version. * fixed onboard view. * fixed prefs. * bumped version. * optimized cache service. * updated pubspec.yaml * bumped version. * fixed onboard view. * fixed lint. * fixed padding. * bumped version.
6 lines
254 B
Dart
6 lines
254 B
Dart
extension IntExtension on int {
|
|
Iterable<int> to(int other, {bool inclusive = true}) => other > this
|
|
? <int>[for (int i = this; i < other; i++) i, if (inclusive) other]
|
|
: <int>[for (int i = this; i > other; i--) i, if (inclusive) other];
|
|
}
|