TF-3410 Use TextTheme apply almost text style for text widget

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-03-10 02:18:34 +07:00
committed by Dat H. Pham
parent efe1c801c1
commit a258dec4ee
87 changed files with 1774 additions and 1776 deletions
@@ -7,7 +7,8 @@ class SettingDetailViewBuilder extends StatelessWidget {
final ResponsiveUtils responsiveUtils;
final Widget child;
final EdgeInsets? padding;
final EdgeInsetsGeometry? padding;
final Color backgroundColor;
final VoidCallback? onTapGestureDetector;
const SettingDetailViewBuilder({
@@ -15,6 +16,7 @@ class SettingDetailViewBuilder extends StatelessWidget {
required this.responsiveUtils,
required this.child,
this.padding,
this.backgroundColor = Colors.white,
this.onTapGestureDetector
});
@@ -27,8 +29,16 @@ class SettingDetailViewBuilder extends StatelessWidget {
child: Container(
width: double.infinity,
height: double.infinity,
color: SettingsUtils.getContentBackgroundColor(context, responsiveUtils),
decoration: SettingsUtils.getBoxDecorationForContent(context, responsiveUtils),
color: SettingsUtils.getContentBackgroundColor(
context,
responsiveUtils,
backgroundColor: backgroundColor,
),
decoration: SettingsUtils.getBoxDecorationForContent(
context,
responsiveUtils,
backgroundColor: backgroundColor,
),
margin: SettingsUtils.getMarginSettingDetailsView(context, responsiveUtils),
padding: padding,
child: child,