Skip to content

Change to go route #89

Description

@github-actions

https://github.com/Erengun/pati-pati-app/blob/166e294f6019895003a3bd52c00d7a48fe9ae94f/lib/ui/features/chat/widgets/chat_list_item.dart#L18

  @override
  Widget build(BuildContext context) {
    Size size = MediaQuery.sizeOf(context);

    return ListTile(
      onTap: () {
        Navigator.push(
          context,
          //TODO: Change to go route
          MaterialPageRoute<void>(
            builder: (BuildContext context) {
              debugPrint('Chat User ID: ${chat.userId} (ChatsScreen)');
              return MessageScreen(
                receiverId: chat.userId,
                receiverName: chat.name,
                receiverProfilePic: chat.profilePic,
              );
                        },
          ),
        );
      },

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions