Use fontFamily for all style in Text widget

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-07-15 09:26:07 +07:00
committed by Dat H. Pham
parent 991ab686a4
commit a9a322818a
186 changed files with 717 additions and 443 deletions
@@ -41,7 +41,7 @@ class TextInputFieldBuilder extends StatelessWidget {
if (label != null)
...[
Text(isMandatory ? '${label!}*' : label!,
style: const TextStyle(
style: ThemeUtils.defaultTextStyleInterFont.copyWith(
fontSize: 14,
fontWeight: FontWeight.normal,
color: AppColor.colorContentEmail)),
@@ -52,7 +52,7 @@ class TextInputFieldBuilder extends StatelessWidget {
textInputAction: TextInputAction.next,
controller: editingController,
focusNode: focusNode,
textStyle: const TextStyle(color: Colors.black, fontSize: 16),
textStyle: ThemeUtils.defaultTextStyleInterFont.copyWith(color: Colors.black, fontSize: 16),
keyboardType: inputType ?? TextInputType.text,
textDirection: DirectionUtils.getDirectionByLanguage(context),
minLines: minLines,