content: import 'package:flutter/widgets.dart';
  
  class SizeConfig {
    static late MediaQueryData _mediaQueryData;
    static double? screenWidth;
    static double? screenHeight;
    static double? buttonSize;
    static double? resultTextSize;
    static double? expTextSize;
  
    static double? _safeAreaHorizontal;
    static double? _safeAreaVertical;
    static double? safeBlockHorizontal;
    static double? safeBlockVertical;
    static double? pixelRatio;
    static double? heightWidthFactor;
  
    static void init(BuildContext context) {
      _mediaQueryData = MediaQuery.of(context);
      screenWidth = _mediaQueryData.size.width;
      screenHeight = _mediaQueryData.size.height;
      pixelRatio = _mediaQueryData.devicePixelRatio;
      buttonSize = (screenWidth! / 4) - 12;
      heightWidthFactor = screenHeight! / screenWidth!;
      expTextSize = screenHeight! - (buttonSize! * 5) - buttonSize!;
  
      _safeAreaHorizontal =
          _mediaQueryData.padding.left + _mediaQueryData.padding.right;
      _safeAreaVertical =
          _mediaQueryData.padding.top + _mediaQueryData.padding.bottom;
      safeBlockHorizontal = screenWidth! - _safeAreaHorizontal!;
      safeBlockVertical = screenHeight! - _safeAreaVertical!;
    }
  }
  