font family english digit support
This commit is contained in:
parent
9d4ec78b23
commit
35ed618403
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue