From 278e5092e64e51b1e8b7b1ec666e7f218a6deea3 Mon Sep 17 00:00:00 2001 From: Dany Thach Date: Sat, 15 Feb 2025 23:59:12 +0100 Subject: [PATCH] Lowered maxInteger and minInteger to avoid weird overflows --- lib/constants/numbers.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/constants/numbers.dart b/lib/constants/numbers.dart index d9f4d58..f1f750f 100644 --- a/lib/constants/numbers.dart +++ b/lib/constants/numbers.dart @@ -5,7 +5,7 @@ class Numbers { Numbers._(); - static const int maxInteger = 0x7FFFFFFFFFFFFFFF; - static const int minInteger = -0x7FFFFFFFFFFFFFFF; + static const int maxInteger = 0x7FFFFFFF; + static const int minInteger = -0x7FFFFFFF; } \ No newline at end of file