added swiping
add swiping
This commit is contained in:
parent
2ff4d44d25
commit
127a09b597
10 changed files with 154 additions and 82 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue