added swiping

add swiping
This commit is contained in:
Mehul Ahal 2022-12-22 12:17:08 +01:00 committed by Mguy13
parent 2ff4d44d25
commit 127a09b597
10 changed files with 154 additions and 82 deletions

View file

@ -36,6 +36,9 @@ class ImagesService {
int get firstAvailableImageIndex => 0;
int get lastAvailableImageIndex => _imageModels.length - 1;
int get numberOfImages => _imageModels.length;
ImageModel imageModelAt({required int index}) => _imageModels.elementAt(index);
static ImagesService get locate => Locator.locate();
}