From cff813cc2c551c5886ddbb80cb252e9d08086f1f Mon Sep 17 00:00:00 2001 From: Ghassen Ben Zahra Date: Thu, 19 Dec 2024 13:02:06 +0100 Subject: [PATCH] fix inversed parnthesis display --- lib/src/pages/home/widgets/FlashWidget.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/pages/home/widgets/FlashWidget.dart b/lib/src/pages/home/widgets/FlashWidget.dart index f8f179685..7082e653e 100644 --- a/lib/src/pages/home/widgets/FlashWidget.dart +++ b/lib/src/pages/home/widgets/FlashWidget.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; import 'package:marquee/marquee.dart'; import 'package:mawaqit/src/helpers/RelativeSizes.dart'; import 'package:mawaqit/src/models/mosque.dart'; @@ -30,6 +31,8 @@ class _FlashWidgetState extends State { velocity: 90, blankSpace: 400, style: TextStyle( + fontFamily: + flash.orientation == 'rtl' ? GoogleFonts.notoKufiArabic().fontFamily : GoogleFonts.roboto().fontFamily, height: 1, fontSize: 3.4.vwr, fontWeight: FontWeight.bold,