Created
June 21, 2022 09:04
-
-
Save rutvik110/7e421a3ef31f57d34907c7f6ba41a4af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double getScaledSize(int index) { | |
return getPropertyValue( | |
index: index, | |
baseValue: baseItemHeight, | |
maxValue: 70, | |
nonHoveredMaxValue: 50, | |
); | |
} | |
double getTranslationY(int index) { | |
return getPropertyValue( | |
index: index, | |
baseValue: baseTranslationY, | |
maxValue: -22, | |
nonHoveredMaxValue: -14, | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment