v property

double get v

This method is used to set padding/margin (for the top and bottom side) & height of the screen or widget according to the Viewport height.

Implementation

double get v =>
    (this * _height) / (FIGMA_DESIGN_HEIGHT - FIGMA_DESIGN_STATUS_BAR);