TF-3911 Add Keyboard shortcuts dictionary in Setting

This commit is contained in:
dab246
2025-10-02 13:25:29 +07:00
committed by Dat H. Pham
parent 846c9c6583
commit 0bd60ea83d
26 changed files with 991 additions and 147 deletions
@@ -149,4 +149,17 @@ class SettingsUtils {
return const EdgeInsetsDirectional.symmetric(vertical: 8);
}
}
static EdgeInsetsGeometry getBodyPadding(
BuildContext context,
ResponsiveUtils responsiveUtils,
) {
if (responsiveUtils.isMobile(context)) {
return const EdgeInsetsDirectional.only(top: 16, start: 24, end: 24);
} else if (responsiveUtils.isDesktop(context)) {
return const EdgeInsetsDirectional.only(top: 36);
} else {
return const EdgeInsetsDirectional.only(top: 16, start: 44, end: 44);
}
}
}