getShrinkedListView static method

Widget getShrinkedListView(
  1. AppModel app,
  2. BuildContext context,
  3. List<Widget> widgets
)

Implementation

static Widget getShrinkedListView(
    AppModel app, BuildContext context, List<Widget> widgets) {
  return topicContainer(app, context, children: [
    ListView.builder(
      shrinkWrap: true,
      physics: ScrollPhysics(),
      scrollDirection: Axis.vertical,
      itemBuilder: (context, index) {
        return widgets[index];
      },
      itemCount: widgets.length,
    )
  ]);
}