Use fontFamily for all style in Text widget
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:core/presentation/resources/image_paths.dart';
|
||||
import 'package:core/presentation/utils/theme_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:tmail_ui_user/features/sending_queue/presentation/utils/sending_queue_utils.dart';
|
||||
@@ -36,7 +37,7 @@ class BannerMessageSendingQueueWidget extends StatelessWidget {
|
||||
const SizedBox(width: 8),
|
||||
Expanded(child: Text(
|
||||
AppLocalizations.of(context).bannerMessageSendingQueueViewOnIOS,
|
||||
style: const TextStyle(
|
||||
style: ThemeUtils.defaultTextStyleInterFont.copyWith(
|
||||
fontSize: 15,
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.normal
|
||||
|
||||
+4
-3
@@ -2,6 +2,7 @@
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:core/presentation/resources/image_paths.dart';
|
||||
import 'package:core/presentation/utils/responsive_utils.dart';
|
||||
import 'package:core/presentation/utils/theme_utils.dart';
|
||||
import 'package:core/presentation/views/button/tmail_button_widget.dart';
|
||||
import 'package:core/utils/platform_info.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -47,7 +48,7 @@ class BottomBarSendingQueueWidget extends StatelessWidget {
|
||||
borderRadius: 0,
|
||||
backgroundColor: Colors.transparent,
|
||||
iconColor: SendingEmailActionType.edit.getButtonIconColor(_canEditable ? ButtonState.enabled : ButtonState.disabled),
|
||||
textStyle: TextStyle(
|
||||
textStyle: ThemeUtils.defaultTextStyleInterFont.copyWith(
|
||||
fontSize: 12,
|
||||
color: SendingEmailActionType.edit.getButtonTitleColor(_canEditable ? ButtonState.enabled : ButtonState.disabled)
|
||||
),
|
||||
@@ -70,7 +71,7 @@ class BottomBarSendingQueueWidget extends StatelessWidget {
|
||||
borderRadius: 0,
|
||||
backgroundColor: Colors.transparent,
|
||||
iconColor: SendingEmailActionType.resend.getButtonIconColor(_canResend ? ButtonState.enabled : ButtonState.disabled),
|
||||
textStyle: TextStyle(
|
||||
textStyle: ThemeUtils.defaultTextStyleInterFont.copyWith(
|
||||
fontSize: 12,
|
||||
color: SendingEmailActionType.resend.getButtonTitleColor(_canResend ? ButtonState.enabled : ButtonState.disabled)
|
||||
),
|
||||
@@ -90,7 +91,7 @@ class BottomBarSendingQueueWidget extends StatelessWidget {
|
||||
borderRadius: 0,
|
||||
backgroundColor: Colors.transparent,
|
||||
iconColor: SendingEmailActionType.delete.getButtonIconColor(ButtonState.enabled),
|
||||
textStyle: TextStyle(
|
||||
textStyle: ThemeUtils.defaultTextStyleInterFont.copyWith(
|
||||
fontSize: 12,
|
||||
color: SendingEmailActionType.delete.getButtonTitleColor(ButtonState.enabled)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user