isFontsDownloaded property

bool get isFontsDownloaded

لمعرفة ما إذا كانت الخطوط محملة او لا، ما عليك سوى إستدعاء isFontsDownloaded

To find out whether fonts are downloaded or not, just call isFontsDownloaded

Implementation

bool get isFontsDownloaded {
  // التحقق من قيمة isDownloadedV2Fonts في GetStorage
  // Check the value of isDownloadedV2Fonts in GetStorage
  final storageValue =
      GetStorage().read<bool>(_StorageConstants().isDownloadedCodeV2Fonts);
  // تحديث قيمة المتغير في state ليتوافق مع قيمة التخزين
  // Update the state variable to match storage value
  quranCtrl.state.isDownloadedV2Fonts.value = storageValue ?? false;
  // إرجاع القيمة المحدثة
  // Return the updated value
  return quranCtrl.state.isDownloadedV2Fonts.value;
}