The timing of this thread strikes me as very weird. If this thread was opened around 2015 when we lost to Bangladesh badly and there was seemingly no hope that good young players could make it into the team, I would've whole heartedly agreed that the gap between india and pakistan is widening. India has been a much better team than us over the past decade and there is no question about that.
The problem with this discussion arises when you look at 2016 onwards, and how Pakistan has been able to inject young talent in batting as well as bowling. In Babar, we have a young batsman who has shown that he has the capacity and consistency to score runs for the team and act as the main anchor due to his ability to bat for long. He needs to step up a bit more against bigger teams for sure but it's not like he has failed entirely against them. He has a hundred against aus in aus, couple of fine knocks against NZ in all formats of the game, and did decently well in England. He's been the only Pakistani batsman in a long time to make his way into the top 10 rankings for odis, which is an achievement in itself.
In Hassan we have a bowler who is very consistent for most of the games he plays. When he picks up wickets, he does so in huge bags. He rarely goes for an absurd amount of runs like Wahab used to and has expertly taken over the helm of our fast bowling lineup from Wahab( and yes I don’t believe amir to be the leader of the fast bowling pack). His consistency is reflected in his ODI ranking. Every time he goes out to bowl, you can feel that he is going to pick up wickets.
In Shadab we have a world class allrounder in the making who has impressed almost every time he has stepped onto the field. We have on our hands an allrounder that is internationally praised in t20 leagues because of his athleticism and killer deceptive googlies. Highly energetic and charismatic, he has the potential to gain the star power akin to what Afridi possessed in his own career. He may be Pakistan's captain down the line after Sarfraz retires, and he definitely seems to possess the cricketing brain that is required for captaincy. Wise beyond his years indeed.
In Fakhar we FINALLY have a permanent opener who can bat at a pace suitable for the modern game. He has been reasonably consistent so far . We still have the second opener slot available for anyone but at least one is occupied by Fakhar. Good fielder as well.
So in short, this team has overcome some of its worst shortcomings.
-Find young talent, inject them into the team, and make sure they are more consistent than the people they are replacing
-Find a good solid opener who can provide you with brisk starts but also has the ability to play reasonably long innings.
-Find a middle order batsman who is consistent and scores at a reasonably good strike rate
-Find a good spin-allrounder who could fill in the gap made by the departures of afridi/ajmal.
If anything, the gap between India and Pakistan is shortening. We may have lost the ODIs against NZ but there is no reason to ring any major alarm bells. The nucleus of the team should remain the same and in the future hopefully pcb schedules the tours so that the team can go there a lot earlier to acclimatize with the conditions. India is definitely still the better ODI and test team but in no way is the gap widening. Part of that is because India has less improvement to do as compared to Pakistan. The next encounter between the 2 sides will be very interesting because of the freshness that these players bring from both camps.