toast/utils/utils library

Properties

gapBetweenCard ↔ int
The gap between stack of cards
getter/setter pair

Functions

calculatePosition(List<DelightToastBar> toastBars, DelightToastBar self) → double
calculate position of old cards based on current position
calculateScaleFactor(List<DelightToastBar> toastBars, DelightToastBar current) → double
rescale the old cards based on its position