fix: clean debug prints, ok tuslari Focus.onKeyEvent ile calisiyor
Build Windows / build-windows (push) Has been cancelled
Build Windows / build-windows (push) Has been cancelled
This commit is contained in:
1 parent
1658985f9c
commit
c5679f457d
5 files changed
+25
-35
No files matched your search
@@ -43,18 +43,18 @@ class ImageManager extends ChangeNotifier {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void nextImage() {
|
||||
if (_images.isEmpty) return;
|
||||
_currentIndex = (_currentIndex + 1) % _images.length;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void previousImage() {
|
||||
if (_images.isEmpty) return;
|
||||
_currentIndex = (_currentIndex - 1 + _images.length) % _images.length;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void nextImage() {
|
||||
if (_images.isEmpty) return;
|
||||
_currentIndex = (_currentIndex + 1) % _images.length;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
// Precache needs a BuildContext
|
||||
BuildContext? context;
|
||||
|
||||
|
||||
Reference in new issue
Block a user