sliverScrollView static method

Container sliverScrollView(
  1. List<Widget> widgets
)

Customer Scroll View with Sliver List

Implementation

static Container sliverScrollView(List<Widget> widgets) {
  return Container(
    child: CustomScrollView(
      slivers: <Widget>[
        SliverList(
          delegate: SliverChildListDelegate(
            widgets,
          ),
        ),
      ],
    ),
  );
}