font family english digit support

This commit is contained in:
MohammadTaha Basiri 2022-03-09 18:08:59 +03:30
parent 9d4ec78b23
commit 35ed618403
1 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,10 @@ class DidvanText extends StatelessWidget {
color: color, color: color,
fontWeight: fontWeight, fontWeight: fontWeight,
fontSize: fontSize, fontSize: fontSize,
)).copyWith(fontFamily: isEnglishFont ? DesignConfig.fontFamily : null), )).copyWith(
fontFamily: isEnglishFont ? DesignConfig.fontFamily : null,
height: 1.7,
),
overflow: overflow, overflow: overflow,
textAlign: textAlign, textAlign: textAlign,
maxLines: maxLines, maxLines: maxLines,