refactor: improve specialization card layout and unify chat screen header and navigation with home screen components.

This commit is contained in:
pradeepkumar
2026-03-08 02:01:03 +05:30
parent bba9cd3936
commit 219acfc013
14 changed files with 2498 additions and 236 deletions

View File

@@ -52,16 +52,11 @@ class _ConversationsScreenState extends ConsumerState<ConversationsScreen> {
final state = ref.watch(messagingProvider);
final filtered = _filteredConversations(state.conversations);
return Scaffold(
backgroundColor: Colors.white,
body: SafeArea(
child: Column(
children: [
_buildHeader(),
Expanded(child: _buildConversationList(state, filtered)),
],
),
),
return Column(
children: [
_buildHeader(),
Expanded(child: _buildConversationList(state, filtered)),
],
);
}
@@ -317,12 +312,13 @@ class _ConversationsScreenState extends ConsumerState<ConversationsScreen> {
return _ConversationTile(
conversation: filtered[index],
onTap: () =>
context.push('/messages/chat/${filtered[index].id}'),
context.go('/messages/chat/${filtered[index].id}'),
);
},
),
);
}
}
// -- Conversation Tile Widget --