getWidth method
dynamic
getWidth()
For finding width for shadow.
Implementation
//TODO
getWidth() {
return dragHorizontal > 180
? (130 + (180 - dragHorizontal) * 1.44)
: 130 - (dragHorizontal * 1.44);
}
For finding width for shadow.
//TODO
getWidth() {
return dragHorizontal > 180
? (130 + (180 - dragHorizontal) * 1.44)
: 130 - (dragHorizontal * 1.44);
}