scaffoldContainer static method

Scaffold scaffoldContainer(
  1. List<Widget> widgets, {
  2. Container? backgroundContainer,
})

Common Scaffold Container

Implementation

static Scaffold scaffoldContainer(List<Widget> widgets,
    {Container? backgroundContainer}) {
  return Scaffold(
    body: Container(
      child: new Stack(
        children: <Widget>[
          backgroundContainer != null
              ? backgroundContainer
              : emptyContainer(),
          sliverScrollView(widgets),
        ],
      ),
    ),
  );
}