scaleBoth method
Scales the number based on both screen width and height using scaleBoth.
Example:
double size = 12.scaleBoth(context);
Implementation
double scaleBoth(BuildContext context) => context.scaleBoth(toDouble());
Scales the number based on both screen width and height using scaleBoth.
Example:
double size = 12.scaleBoth(context);
double scaleBoth(BuildContext context) => context.scaleBoth(toDouble());