ImageParams constructor
ImageParams({})
Implementation
ImageParams({
required this.path,
required this.size,
this.imagePositionFactor = 0.4,
this.repeatCountPerLevel = 0.5,
this.side = Side.BOTH,
}) : assert(imagePositionFactor >= 0 && imagePositionFactor <= 1,
"Image Position factor should be between 0 and 1"),
assert(repeatCountPerLevel >= 0,
"repeatPerLevel parameter should be positive");