sb method

double sb(
  1. BuildContext context
)

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());