make appbar changing colors by the current tab
Closed this issue · 3 comments
denny101603 commented
make appbar changing colors by the current tab
denny101603 commented
Honza0297 commented
https://stackoverflow.com/questions/50123354/how-to-get-current-tab-index-in-flutter
DefaultTabCotnroller.of(context).index gets the current index which should be enough to change colors according to current tab