79728212

Date: 2025-08-07 07:38:58
Score: 1
Natty:
Report link
onTap: () => Navigator.push(
  context,
  MaterialPageRoute(
    builder: (_) => BlocProvider(
      create: (_) => HomeCubit()..getProfileData(similarJobs?.sId ?? ''),
      child: TopProfileScreen(id: similarJobs?.sId ?? ''),
    ),
  ),
),

if you are using bloc simple use bloc provider in related product that you want navigate new related product .....when you back from this page bloc state manage that things for you

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: bharat wakade