ソースを参照

different bottom padding for different states

ashilkn 2 年 前
コミット
cb9efcc09d
1 ファイル変更7 行追加1 行削除
  1. 7 1
      lib/ui/settings/details_section_widget.dart

+ 7 - 1
lib/ui/settings/details_section_widget.dart

@@ -140,7 +140,13 @@ class _DetailsSectionWidgetState extends State<DetailsSectionWidget> {
         16,
         20,
         16,
-        userDetails.isPartOfFamily() ? 20 : 12,
+        isMobileScreenSmall
+            ? userDetails.isPartOfFamily()
+                ? 12
+                : 8
+            : userDetails.isPartOfFamily()
+                ? 20
+                : 12,
       ),
       child: Column(
         mainAxisAlignment: MainAxisAlignment.spaceBetween,