ScrollableListTab constructor

ScrollableListTab({
  1. required ListTab tab,
  2. required ScrollView body,
})

A skeleton class to be used in order to build the scrollable list. ScrollableListTab.tab will be used on both tab bar and scrollable body.

Implementation

ScrollableListTab({
  required this.tab,
  required this.body,
}) : assert(body.shrinkWrap && body.physics is NeverScrollableScrollPhysics);