r method

double r(
  1. BuildContext context, {
  2. double defaultScreenWidth = 390,
})

r(context) Get the standard ratio compared to the design screen size

Implementation

double r(BuildContext context, {double defaultScreenWidth = 390}) =>
    (this / defaultScreenWidth) * BaseUtils.getScreenWidth(context);