From b78da03ae50f4ff16b0990eb78206afcdaee862d Mon Sep 17 00:00:00 2001 From: zaid_daoud Date: Sun, 15 Oct 2023 15:13:27 +0300 Subject: [PATCH] Improvement --- lib/new_views/common_widgets/app_filled_button.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/new_views/common_widgets/app_filled_button.dart b/lib/new_views/common_widgets/app_filled_button.dart index 1200908d..4921ad38 100644 --- a/lib/new_views/common_widgets/app_filled_button.dart +++ b/lib/new_views/common_widgets/app_filled_button.dart @@ -20,10 +20,7 @@ class AppFilledButton extends StatelessWidget { return SizedBox( width: maxWidth ? double.infinity : null, child: Padding( - padding: const EdgeInsets.symmetric( - horizontal: 16, - vertical: 20, - ), + padding: EdgeInsets.symmetric(horizontal: 16.toScreenWidth, vertical: 20.toScreenHeight), child: ElevatedButton( style: ElevatedButton.styleFrom( elevation: 0,