icon_mega5 method

double icon_mega5({
  1. String? pageName,
  2. bool? isStatic,
})

Implementation

double icon_mega5({String? pageName, bool? isStatic}) {
  if ((isStatic == null &&
          isStaticDefault == null &&
          Get.find<AppSettings>().properties.screenMode ==
              ScreenMode.mobile) ||
      (isStatic == null && isStaticDefault == false) ||
      isStatic == false) {
    return (pageName == null
            ? _sizeIconRatios["mega"]!
            : getPageDynamicIconSizes(pageName, SizeType.mega)) *
        _totalSize;
  } else {
    return pageName == null
        ? _staticSizes["mega"]!
        : getPageStaticIconSized(pageName, SizeType.mega);
  }
}