Tab bar indicator color is not updating on swipe of tabbarview in flutter?
import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; class TestDemo extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, visualDensity: VisualDensity.adaptivePlatformDensity, ), home: MyHomePage(title: 'Flutter Demo Home…