anchor.diff:    }) : super(key: key);
   
     @override
  -  _GSYTabBarState createState() => new _GSYTabBarState();
  +  _GSYTabBarState createState() => new _GSYTabBarState(
  +    type,
  +    tabViews,
  +    indicatorColor,
  +    title,
  +    drawer,
  +    floatingActionButton,
  +    tarWidgetControl,
  +    topPageControl,
  +    onPageChanged,
  +  );
   }
   
   // ignore: mixin_inherits_from_not_object
   class _GSYTabBarState extends State<GSYTabBarWidget> with SingleTickerProviderStateMixin {
  +  final int _type;
   
  -  _GSYTabBarState();
  +  final List<Widget> _tabViews;
  +
  +  final Color _indicatorColor;
  +
  +  final Widget _title;
  +
  +  final Widget _drawer;
  +
  +  final Widget _floatingActionButton;
  +
  +  final TarWidgetControl _tarWidgetControl;
  +
  +  final PageController _pageController;
  +
  +  final ValueChanged<int> _onPageChanged;
  +
  +  _GSYTabBarState(
  +      this._type,
  +      this._tabViews,
  +      this._indicatorColor,
  +      this._title,
  +      this._drawer,
  +      this._floatingActionButton,
  +      this._tarWidgetControl,
  +      this._pageController,
  +      this._onPageChanged,
  +      ) : super();
   
     TabController _tabController;
   
  
positive.code:             //TabBar导航标签，底部导航放到Scaffold的bottomNavigationBar中
              controller: _tabController, //配置控制器
              tabs: widget.tabItems,
              indicatorColor: widget.indicatorColor, //tab标签的下划线颜色
            ),
          ));
    }
  
negative.code: 
      ///底部tab bar
      return new Scaffold(
          drawer: _drawer,
          appBar: new AppBar(
            backgroundColor: Theme.of(context).primaryColor,
            title: _title,
          ),
          body: new TabBarView(
            //TabBarView呈现内容，因此放到Scaffold的body中
              controller: _tabController, //配置控制器
              children: _tabViews),
          bottomNavigationBar: new Material(
            //为了适配主题风格，包一层Material实现风格套用
            color: Theme.of(context).primaryColor, //底部导航栏主题颜色
  