浏览代码

Added top inner stroke to the bottom most widget of CreateCollectionSheet

ashilkn 2 年之前
父节点
当前提交
5ea2c7942e
共有 1 个文件被更改,包括 12 次插入4 次删除
  1. 12 4
      lib/ui/create_collection_sheet.dart

+ 12 - 4
lib/ui/create_collection_sheet.dart

@@ -194,10 +194,18 @@ class _CreateCollectionSheetState extends State<CreateCollectionSheet> {
                           ),
                           ),
                         ),
                         ),
                       ),
                       ),
-                      const SafeArea(
-                        child: Padding(
-                          padding: EdgeInsets.fromLTRB(16, 16, 16, 8),
-                          child: ButtonWidget(
+                      SafeArea(
+                        child: Container(
+                          //inner stroke of 1pt + 15 pts of top padding = 16 pts
+                          padding: const EdgeInsets.fromLTRB(16, 15, 16, 8),
+                          decoration: BoxDecoration(
+                            border: Border(
+                              top: BorderSide(
+                                color: getEnteColorScheme(context).strokeFaint,
+                              ),
+                            ),
+                          ),
+                          child: const ButtonWidget(
                             buttonType: ButtonType.secondary,
                             buttonType: ButtonType.secondary,
                             buttonAction: ButtonAction.cancel,
                             buttonAction: ButtonAction.cancel,
                             isInAlert: true,
                             isInAlert: true,