TF-888 Change size back button and add title in setting first level view

This commit is contained in:
dab246
2022-09-09 19:39:08 +07:00
committed by Dat H. Pham
parent 8d23606e98
commit 6692b73b8f
6 changed files with 82 additions and 16 deletions
@@ -19,6 +19,14 @@ class SettingsUtils {
}
}
static EdgeInsets getPaddingAppBar(BuildContext context, ResponsiveUtils responsiveUtils) {
if (responsiveUtils.isMobile(context)) {
return const EdgeInsets.symmetric(horizontal: 16);
} else {
return const EdgeInsets.symmetric(horizontal: 32);
}
}
static EdgeInsets getMarginViewForSettingDetails(BuildContext context, ResponsiveUtils responsiveUtils) {
if (BuildUtils.isWeb) {
if (responsiveUtils.isDesktop(context)) {