getImageCount method
dynamic
getImageCount()
The no. of image return as per collage type.
Implementation
getImageCount() {
if (collageType == CollageType.hSplit ||
collageType == CollageType.vSplit) {
return 2;
} else if (collageType == CollageType.fourSquare ||
collageType == CollageType.fourLeftBig) {
return 4;
} else if (collageType == CollageType.nineSquare) {
return 9;
} else if (collageType == CollageType.threeVertical ||
collageType == CollageType.threeHorizontal) {
return 3;
} else if (collageType == CollageType.leftBig ||
collageType == CollageType.rightBig) {
return 6;
} else if (collageType == CollageType.vMiddleTwo ||
collageType == CollageType.centerBig) {
return 7;
}
}