feat: Add a back button to the agent search screen and adjust the search bar's left padding.

This commit is contained in:
pradeepkumar
2026-03-17 10:59:47 +05:30
parent 26d9197548
commit 0f4a3abfa2
2 changed files with 43 additions and 2 deletions

View File

@@ -116,11 +116,22 @@ class _AgentSearchScreenState extends ConsumerState<AgentSearchScreen> {
Widget _buildSearchBar() {
return Padding(
padding: const EdgeInsets.fromLTRB(24, 16, 24, 0),
padding: const EdgeInsets.fromLTRB(16, 16, 24, 0),
child: SizedBox(
height: 42,
child: Row(
children: [
GestureDetector(
onTap: () => context.go('/home'),
child: const Padding(
padding: EdgeInsets.only(right: 8),
child: Icon(
Icons.arrow_back_ios_new_rounded,
color: AppColors.primaryDark,
size: 20,
),
),
),
Expanded(
child: Container(
decoration: BoxDecoration(