sb method
Short alias for scaleBoth. Scales based on both width and height.
Example:
double size = 12.sb(context);
Implementation
double sb(BuildContext context) => context.scaleBoth(toDouble());
Short alias for scaleBoth. Scales based on both width and height.
Example:
double size = 12.sb(context);
double sb(BuildContext context) => context.scaleBoth(toDouble());