list method
Implementation
Widget list(List<Widget> list) {
return TabBar(
tabs: list,
controller: controller,
dragStartBehavior: dragStartBehavior ?? DragStartBehavior.start,
indicator: indicator,
indicatorColor: indicatorColor,
indicatorPadding: indicatorPadding ?? EdgeInsets.zero,
indicatorSize: indicatorSize,
isScrollable: isScrollable ?? false,
labelColor: labelColor,
onTap: onTap,
unselectedLabelColor: unselectedLabelColor,
unselectedLabelStyle: unselectedLabelStyle,
labelPadding: labelPadding,
labelStyle: labelStyle,
indicatorWeight: indicatorWeight ?? 2.0,
key: key,
);
}