由于此版本的代码太低 只能通过插件方式依赖,不然2.0后的空安全全部都改成空安全很费事。 TODO: xxxxx.

Getting started

TODO: flutter_tabbar: ^0.0.2

to /example

Custom.TabBar(
                                   controller: this._controller2,
                                   indicatorSize: Custom.TabBarIndicatorSize.label,
                                   indicatorColor: Colors.white,
                                   labelStyle: TextStyle(
                                     fontSize: 16.0,
                                     fontWeight: FontWeight.bold,
                                   ),
                                   unselectedLabelStyle: TextStyle(fontSize: 13.0),
                                   indicatorWeight: 3.0,
                                   isScrollable: true,
                                   indicatorPadding: EdgeInsets.fromLTRB(0.0, 0.0, 0.0, 5.0),
                                   tabs: [
                                     Tab(text: '动态'),
                                     Tab(text: '热门'),
                                     Tab(text: '附近'),
                                     Tab(text: '颜值'),
                                     Tab(text: '音乐'),
                                   ],
                                 ),

Additional information

TODO: xxx