bodyBuilder property

(Widget Function(BuildContext context, int index)?) bodyBuilder
final

Builder function to create the body of the page.

You can have either children or a bodyBuilder, not both.

  • context is the build context of the view.

  • index is the index of the selected tab.

Implementation

final Widget Function(BuildContext context, int index)? bodyBuilder;