builder property

Widget? Function(BuildContext context, T item, Key key) builder
final

One widget per tab.

Its length must match the length of the TabBar.tabs list, as well as the controller's TabController.length.

Implementation

final Widget? Function(BuildContext context, T item, Key key) builder;