shapeHeight property

double shapeHeight

The height of the shapes that will be scrolling.

This will be recalculated to make the shapes fit to the screen size. It will remain very close to this value though.

Implementation

double get shapeHeight {
  switch (shape) {
    case ScrollerShape.stripes:
    case ScrollerShape.circles:
    case ScrollerShape.squares:
      return shapeWidth;
    case ScrollerShape.diamonds:
      return ScrollerPainterDiamonds.calcRhombusHeight(shapeWidth);
  }
}