setSp method

double setSp(
  1. num fontSize
)

Font size adaptation method in px

Implementation

double setSp(num fontSize) => fontSize * (_screenWidth / uiSize.width);