ui backbone

This commit is contained in:
Mehul Ahal 2022-12-20 21:52:24 +01:00
parent 3e374d24f6
commit b7045fc242
24 changed files with 918 additions and 73 deletions

View file

@ -1,7 +1,7 @@
class ImageModel<T extends Comparable> {
class ImageModel {
const ImageModel({
required this.uri,
required this.comparableIndex,
required this.imageIndex,
required this.imageName,
});
@ -11,7 +11,7 @@ class ImageModel<T extends Comparable> {
final Uri uri;
/// A unique identifier that can be used for indexing the image.
final T comparableIndex;
final int imageIndex;
/// Given name of the image.
final String imageName;