getUIElementSize static method

double getUIElementSize(
  1. BuildContext context,
  2. double baseSize
)

Less aggressive scaling for UI elements such as icons and the AppBar.

Implementation

static double getUIElementSize(BuildContext context, double baseSize) =>
    baseSize * math.min(_scaleFactor(context), 1.15);