From ddca86b43555141317a34e17c6d2a0bf31d31d14 Mon Sep 17 00:00:00 2001 From: Ashita Prasad Date: Mon, 15 Jul 2024 00:56:43 +0530 Subject: [PATCH] Add kHSpacer12 --- lib/consts.dart | 1 + lib/screens/common_widgets/sidebar_header.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/consts.dart b/lib/consts.dart index b038d398..36eb89bf 100644 --- a/lib/consts.dart +++ b/lib/consts.dart @@ -148,6 +148,7 @@ const kPb70 = EdgeInsets.only( const kHSpacer4 = SizedBox(width: 4); const kHSpacer5 = SizedBox(width: 5); const kHSpacer10 = SizedBox(width: 10); +const kHSpacer12 = SizedBox(width: 12); const kHSpacer20 = SizedBox(width: 20); const kHSpacer40 = SizedBox(width: 40); const kVSpacer5 = SizedBox(height: 5); diff --git a/lib/screens/common_widgets/sidebar_header.dart b/lib/screens/common_widgets/sidebar_header.dart index 84513aa9..db7ed9ee 100644 --- a/lib/screens/common_widgets/sidebar_header.dart +++ b/lib/screens/common_widgets/sidebar_header.dart @@ -28,7 +28,7 @@ class SidebarHeader extends ConsumerWidget { style: kTextStyleButton, ), ), - const SizedBox(width: 12), + kHSpacer12, ElevatedButton( onPressed: onImport, style: kButtonSidebarStyle,