FLUTTER : when multiple screen has tab views (with different number of tabs) show error " Property does not match with tabs present in tab bar"
under review
Mihir Patel
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);
Rahul Patel
under review