While checking version mismatch in init state of home page I\'m getting above error, Here is my code:
@override void initState() { getCategoriesName();