multiple screen has tab views with different number of tabs eg: screen 1 has 2 tab and screen 2 has 3 tab show error controller's length property (2) does not match the number of tabs (3) present in TabBar's tab's property.
Solution :
change code in controller
late TabController tabController = Get.put(TabController(vsync: this, length: 3));
to
late TabController tabController = TabController(vsync: this, length: 3);