_TabBarViewState should not recreate page controller (#135500)
## Description This PR replaces the unconditional instantiation of `PageController` in `_TabBarViewState.didChangeDependencies` as suggested in https://github.com/flutter/flutter/pull/134091#discussion_r1319177744. ## Related Issue Fixes https://github.com/flutter/flutter/issues/134253. ## Tests Adds 1 test.
Showing
Please register or sign in to comment