From 654d403481585ec7fb538fd7a90f9b74d11804aa Mon Sep 17 00:00:00 2001 From: stcb <21@stcb.cc> Date: Fri, 18 Oct 2024 23:13:47 +0300 Subject: [PATCH] fix scroll_page --- lib/features/contacts/widgets/alphabet_scroll_page.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/features/contacts/widgets/alphabet_scroll_page.dart b/lib/features/contacts/widgets/alphabet_scroll_page.dart index 4165755..37099c3 100644 --- a/lib/features/contacts/widgets/alphabet_scroll_page.dart +++ b/lib/features/contacts/widgets/alphabet_scroll_page.dart @@ -50,14 +50,12 @@ class _AlphabetScrollPageState extends State { return Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Container( - color: Colors.grey[300], - width: double.infinity, + Padding( padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0), child: Text( letter, style: TextStyle( - fontSize: 18, + fontSize: 28, fontWeight: FontWeight.bold, ), ), @@ -83,7 +81,7 @@ class _AlphabetScrollPageState extends State { // Handle contact tap }, ); - }).toList(), + }), ], ); },