h property
double
get
h
This method is used to set padding/margin (for the left and Right side) & width of the screen or widget according to the Viewport width.
Implementation
double get h => ((this * _width) / FIGMA_DESIGN_WIDTH);